diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-21 03:32:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-21 03:32:16 +0000 |
commit | 5996b49c531a8844b0d5e110ab435cbf3b3efed3 (patch) | |
tree | 7d185fc764e251ceaca4666ef22f240ffedb4a7a /wiretap/mp2t.c | |
parent | 9bfcd83721876d337580e8fdc26d18cd8d317093 (diff) |
Squelch implicit 64-bit-to-32-bit conversion warnings.
svn path=/trunk/; revision=46650
Diffstat (limited to 'wiretap/mp2t.c')
-rw-r--r-- | wiretap/mp2t.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |