diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-03-09 21:18:55 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-03-09 21:18:55 +0000 |
commit | cc739fecb0300906438b19f874e615ead80e419b (patch) | |
tree | 8858970c6086a4fa93b4c9f804d5b46ef79df9c5 /wiretap/netscreen.c | |
parent | e4892bb6c305211bf5b3fc1ba56a87981368eff8 (diff) |
P64 fixes.
svn path=/trunk/; revision=27683
Diffstat (limited to 'wiretap/netscreen.c')
-rw-r--r-- | wiretap/netscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/netscreen.c b/wiretap/netscreen.c index 5e33180543..0e376c223f 100644 --- a/wiretap/netscreen.c +++ b/wiretap/netscreen.c @@ -164,7 +164,7 @@ static gboolean netscreen_check_file_type(wtap *wth, int *err) for (line = 0; line < NETSCREEN_HEADER_LINES_TO_CHECK; line++) { if (file_gets(buf, NETSCREEN_LINE_LENGTH, wth->fh) != NULL) { - reclen = strlen(buf); + reclen = (guint) strlen(buf); if (reclen < strlen(NETSCREEN_HDR_MAGIC_STR1) || reclen < strlen(NETSCREEN_HDR_MAGIC_STR2)) { continue; |