diff options
| author | 2020-12-21 22:23:41 -0800 | |
|---|---|---|
| committer | 2021-06-22 01:33:39 +0200 | |
| commit | 1f6cb66777c0e33ce25dff5cd98f46102451f927 (patch) | |
| tree | c4dfce719e092c3bc70fbe940bc2d4d5f2da80eb /src/xplist.c | |
| parent | b086d0612740978c1942c1c3a078d4a0b8ffffef (diff) | |
| download | libplist-1f6cb66777c0e33ce25dff5cd98f46102451f927.tar.gz libplist-1f6cb66777c0e33ce25dff5cd98f46102451f927.tar.bz2 | |
[clang-tidy] Remove casts to the same type
Found with google-readability-casting
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 1141 | } | 1141 | } |
| 1142 | str++; | 1142 | str++; |
| 1143 | } | 1143 | } |
| 1144 | data->intval = strtoull((char*)str, NULL, 0); | 1144 | data->intval = strtoull(str, NULL, 0); |
| 1145 | if (is_negative || (data->intval <= INT64_MAX)) { | 1145 | if (is_negative || (data->intval <= INT64_MAX)) { |
| 1146 | uint64_t v = data->intval; | 1146 | uint64_t v = data->intval; |
| 1147 | if (is_negative) { | 1147 | if (is_negative) { |
