diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-01-03 17:53:42 +0100 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-03 23:39:43 +0000 |
commit | b67b47558d1bfff404e483156a98ac3c50433609 (patch) | |
tree | 7acdae1f163e854b08c37c9d8144b6dcc7a46725 /epan/uat.c | |
parent | 58b71c754cdf829f0a33bad94d2fcde6e12c0342 (diff) |
epan: remove redundant casts.
Found by clang-tidy.
Change-Id: Iaf6cf84c33b03ddfcd39a333b49f4987002afa56
Reviewed-on: https://code.wireshark.org/review/31338
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/uat.c')
-rw-r--r-- | epan/uat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/uat.c b/epan/uat.c index fb88ab7b56..ab3b0e99e7 100644 --- a/epan/uat.c +++ b/epan/uat.c @@ -796,7 +796,7 @@ char* uat_unesc(const char* si, guint in_len, guint* len_p) { const char* s; const char* in_end = si+in_len; - for (s = (const char *)si; s < in_end; s++) { + for (s = si; s < in_end; s++) { switch(*s) { case '\\': switch(*(++s)) { |