diff options
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r-- | epan/dissectors/packet-fix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c index 8baab0ccbb..6c5aae9a70 100644 --- a/epan/dissectors/packet-fix.c +++ b/epan/dissectors/packet-fix.c @@ -122,7 +122,7 @@ static int fix_next_header(tvbuff_t *tvb, int offset) const guint8 *start = data; while ((start = strstr(start, "\0018"))) { - min_len = start +1 -data; + min_len = (guint) (start +1 -data); /* if remaining length < 6 return and let the next desegment round test for 8=FIX */ |