diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 06:10:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 06:10:25 +0000 |
commit | 07350b2b53445b1a12a5dd0cd00881252640b8db (patch) | |
tree | 9ab1a4f52295af87b64d7ef618a13c9c8163ea6b /wiretap | |
parent | b0d6fbcdebf429a109fff2b5936aed5a02b1f087 (diff) | |
download | wireshark-07350b2b53445b1a12a5dd0cd00881252640b8db.tar.gz |
Squelch a (Y2.038K) warning.
svn path=/trunk/; revision=46751
Diffstat (limited to 'wiretap')
-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 e80faf5e89..1ef731e49c 100644 --- a/wiretap/mp2t.c +++ b/wiretap/mp2t.c @@ -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; |