Squelch a (Y2.038K) warning.

svn path=/trunk/; revision=46751
This commit is contained in:
Guy Harris 2012-12-26 06:10:25 +00:00
parent b0d6fbcdeb
commit 07350b2b53
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ mp2t_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset)
* It would be really cool to be able to configure the bitrate...
*/
tmp = ((guint64)(*data_offset - mp2t->start_offset) * 8); /* offset, in bits */
wth->phdr.ts.secs = tmp / MP2T_QAM256_BITRATE;
wth->phdr.ts.secs = (time_t)(tmp / MP2T_QAM256_BITRATE);
wth->phdr.ts.nsecs = (int)((tmp % MP2T_QAM256_BITRATE) * 1000000000 / MP2T_QAM256_BITRATE);
wth->phdr.caplen = MP2T_SIZE;