summaryrefslogtreecommitdiff
path: root/wiretap/iseries.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2014-06-17 00:00:23 +0200
committerAnders Broman <a.broman58@gmail.com>2014-06-16 22:03:12 +0000
commitf5476e90a014eacbffe4b5449605badbbd6e748e (patch)
tree733163e5aa31ceb61147fc6d65c5c122f6e3a7a6 /wiretap/iseries.c
parent319ad977175e34dde70799aae7c68ff24f24b977 (diff)
downloadwireshark-f5476e90a014eacbffe4b5449605badbbd6e748e.tar.gz
Explicitly declare/cast 'unsigned <variable>' as 'unsigned int <variable>'
Applying part of Bug 7825 Change-Id: I460b5c61b04d793ccc27c25debbd5e8f08bc6974 Reviewed-on: https://code.wireshark.org/review/2280 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap/iseries.c')
-rw-r--r--wiretap/iseries.c2
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)