aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/dbs-etherwatch.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-03-07 05:13:12 +0000
committerGuy Harris <guy@alum.mit.edu>2009-03-07 05:13:12 +0000
commit849186ae5902c914a72776a3112672ca6aa62230 (patch)
tree30de820b97f01db003380db4052d9be2a4ac8de3 /wiretap/dbs-etherwatch.c
parent07addfdceaad4b7bd90b530bac1e76b6038a002e (diff)
More P64 changes.
svn path=/trunk/; revision=27639
Diffstat (limited to 'wiretap/dbs-etherwatch.c')
-rw-r--r--wiretap/dbs-etherwatch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/dbs-etherwatch.c b/wiretap/dbs-etherwatch.c
index d1540aae6a..221d6a4fc5 100644
--- a/wiretap/dbs-etherwatch.c
+++ b/wiretap/dbs-etherwatch.c
@@ -148,7 +148,8 @@ static gboolean dbs_etherwatch_check_file_type(wtap *wth, int *err)
{
char buf[DBS_ETHERWATCH_LINE_LENGTH];
int line, byte;
- unsigned int reclen, i, level;
+ gsize reclen;
+ unsigned int i, level;
buf[DBS_ETHERWATCH_LINE_LENGTH-1] = 0;
@@ -475,7 +476,7 @@ parse_dbs_etherwatch_packet(wtap *wth, FILE_T fh, guint8* buf, int *err,
if (wth) {
p = strstr(months, mon);
if (p)
- tm.tm_mon = (p - months) / 3;
+ tm.tm_mon = (int)(p - months) / 3;
tm.tm_year -= 1900;
tm.tm_isdst = -1;