From 1f6cb66777c0e33ce25dff5cd98f46102451f927 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 21 Dec 2020 22:23:41 -0800 Subject: [clang-tidy] Remove casts to the same type Found with google-readability-casting Signed-off-by: Rosen Penev --- src/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plist.c') diff --git a/src/plist.c b/src/plist.c index 862a54c..f03e125 100644 --- a/src/plist.c +++ b/src/plist.c @@ -395,7 +395,7 @@ static plist_t plist_copy_node(node_t *node) break; case PLIST_KEY: case PLIST_STRING: - newdata->strval = strdup((char *) data->strval); + newdata->strval = strdup(data->strval); break; case PLIST_ARRAY: if (data->hashtable) { -- cgit v1.1-32-gdbae