diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-03 21:17:13 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-04-03 21:17:13 +0000 |
commit | 6625e7503ff42d40780a1bf36e8070c02624ba6b (patch) | |
tree | c6563c2f2dae079e0be033a6a8fc81221faea4bc /tshark.c | |
parent | 8a277a497f8dde4a143d6617b0f669e0ff62b5bf (diff) |
Fix warnings on Linux/gcc 4.1.1
svn path=/trunk/; revision=21330
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2270,7 +2270,8 @@ fill_in_fdata(frame_data *fdata, capture_file *cf, fdata->cap_len = phdr->caplen; fdata->file_off = offset; fdata->lnk_t = phdr->pkt_encap; - fdata->abs_ts = *((nstime_t *) &phdr->ts); + fdata->abs_ts.secs = phdr->ts.secs; + fdata->abs_ts.nsecs = phdr->ts.nsecs; fdata->flags.passed_dfilter = 0; fdata->flags.encoding = CHAR_ASCII; fdata->flags.visited = 0; |