From 5996b49c531a8844b0d5e110ab435cbf3b3efed3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 21 Dec 2012 03:32:16 +0000 Subject: Squelch implicit 64-bit-to-32-bit conversion warnings. svn path=/trunk/; revision=46650 --- wiretap/mp2t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/mp2t.c') diff --git a/wiretap/mp2t.c b/wiretap/mp2t.c index b6538ef2d2..e80faf5e89 100644 --- a/wiretap/mp2t.c +++ b/wiretap/mp2t.c @@ -118,7 +118,7 @@ mp2t_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) */ tmp = ((guint64)(*data_offset - mp2t->start_offset) * 8); /* offset, in bits */ wth->phdr.ts.secs = tmp / MP2T_QAM256_BITRATE; - wth->phdr.ts.nsecs = (tmp % MP2T_QAM256_BITRATE) * 1000000000 / MP2T_QAM256_BITRATE; + wth->phdr.ts.nsecs = (int)((tmp % MP2T_QAM256_BITRATE) * 1000000000 / MP2T_QAM256_BITRATE); wth->phdr.caplen = MP2T_SIZE; wth->phdr.len = MP2T_SIZE; -- cgit v1.2.3