From 1a193c187442608c6a5554ae76f53f4d34e957c4 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 17 Mar 2004 09:24:41 +0000 Subject: [PATCH] "esc_read()" is passed a FILE_T, not a FILE_T * - a FILE_T is a pointer (a FILE * if zlib isn't used, a gzFile if zlib is used). Use "size_t" for the amount of data to read in "eyesdn_check_file_type()", to squelch signed vs. unsigned warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10392 f5534014-38df-0310-8fa8-9805f1628bb7 --- wiretap/eyesdn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiretap/eyesdn.c b/wiretap/eyesdn.c index 9c0b5e36eb..cd40520043 100644 --- a/wiretap/eyesdn.c +++ b/wiretap/eyesdn.c @@ -1,6 +1,6 @@ /* eyesdn.c * - * $Id: eyesdn.c,v 1.5 2004/03/03 22:24:51 guy Exp $ + * $Id: eyesdn.c,v 1.6 2004/03/17 09:24:41 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -57,7 +57,7 @@ */ -static int esc_read(guint8 *buf, int len, FILE_T *fh) +static int esc_read(guint8 *buf, int len, FILE_T fh) { int i; int value; @@ -141,7 +141,7 @@ static long eyesdn_seek_next_packet(wtap *wth, int *err) static gboolean eyesdn_check_file_type(wtap *wth, int *err) { char buf[EYESDN_HDR_MAGIC_SIZE]; - int i, reclen; + size_t i, reclen; guint level; char byte; -- 2.34.1