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/xplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xplist.c') diff --git a/src/xplist.c b/src/xplist.c index 2f98983..263d88e 100644 --- a/src/xplist.c +++ b/src/xplist.c @@ -1141,7 +1141,7 @@ static void node_from_xml(parse_ctx ctx, plist_t *plist) } str++; } - data->intval = strtoull((char*)str, NULL, 0); + data->intval = strtoull(str, NULL, 0); if (is_negative || (data->intval <= INT64_MAX)) { uint64_t v = data->intval; if (is_negative) { -- cgit v1.1-32-gdbae