diff options
Diffstat (limited to 'wiretap/iseries.c')
-rw-r--r-- | wiretap/iseries.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/iseries.c b/wiretap/iseries.c index 729ad7729e..dec299bb04 100644 --- a/wiretap/iseries.c +++ b/wiretap/iseries.c @@ -224,7 +224,7 @@ iseries_open (wtap * wth, int *err, gchar ** err_info) * Check if this is a UNICODE formatted file by scanning for the magic string */ offset=0; - while ((unsigned)offset < (ISERIES_LINE_LENGTH - (sizeof unicodemagic))) + while ((unsigned int)offset < (ISERIES_LINE_LENGTH - (sizeof unicodemagic))) { if (memcmp (magic + offset, unicodemagic, sizeof unicodemagic) == 0) { if (file_seek (wth->fh, 0, SEEK_SET, err) == -1) |