diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2022-11-20 21:18:22 +0000 |
---|---|---|
committer | Martin Mathieson <martin.mathieson@keysight.com> | 2022-11-22 20:55:24 +0000 |
commit | 793365d0e04e43c823521297641bc6ad0ffb6ff1 (patch) | |
tree | 2cf2e193e9a0b390a6e58a77ce9e388fd4cc905f /epan/tvbuff_lz77.c | |
parent | ec353e89f321487dfad19d4dcf1d68ff38d47a0f (diff) |
Fix some issues seen with cppcheck
Diffstat (limited to 'epan/tvbuff_lz77.c')
-rw-r--r-- | epan/tvbuff_lz77.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff_lz77.c b/epan/tvbuff_lz77.c index 2cbfe5a7b0..08e711ca1d 100644 --- a/epan/tvbuff_lz77.c +++ b/epan/tvbuff_lz77.c @@ -38,7 +38,7 @@ static gboolean do_uncompress(tvbuff_t *tvb, int offset, int in_size, buf_flag_count = 32; } buf_flag_count--; - if ((buf_flags & (1 << buf_flag_count)) == 0) { + if ((buf_flags & (1u << buf_flag_count)) == 0) { guint8 v = tvb_get_guint8(tvb, offset+in_off); wmem_array_append_one(obuf, v); in_off++; |