From 86d690880fb63891d223aa663ca5901c790b74af Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Fri, 4 Jan 2013 05:22:43 +0000 Subject: replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead. bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928 --- wiretap/visual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiretap/visual.c') diff --git a/wiretap/visual.c b/wiretap/visual.c index 1c35a35ad0..33fe043f7d 100644 --- a/wiretap/visual.c +++ b/wiretap/visual.c @@ -151,7 +151,7 @@ struct visual_read_info /* Additional information for writing Visual files */ struct visual_write_info { - unsigned start_time; /* Capture start time in seconds */ + guint start_time; /* Capture start time in seconds */ int index_table_index; /* Index of the next index entry */ int index_table_size; /* Allocated size of the index table */ guint32 * index_table; /* File offsets for the packets */ @@ -702,7 +702,7 @@ static gboolean visual_dump(wtap_dumper *wdh, const struct wtap_pkthdr *phdr, struct visual_write_info * visual = (struct visual_write_info *)wdh->priv; struct visual_pkt_hdr vpkt_hdr; size_t hdr_size = sizeof vpkt_hdr; - unsigned delta_msec; + guint delta_msec; guint32 packet_status; /* If the visual structure was never allocated then nothing useful -- cgit v1.2.3