diff options
-rw-r--r-- | epan/to_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index bcdbfcf300..49524c7c9f 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -1196,7 +1196,7 @@ uint_to_str_back_len(char *ptr, guint32 value, int len) new_ptr = uint_to_str_back(ptr, value); /* substract from len number of generated characters */ - len -= (ptr - new_ptr); + len -= (int)(ptr - new_ptr); /* pad remaining with '0' */ while (len > 0) |