aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/mpeg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-09 21:18:55 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-09 21:18:55 +0000
commitcc739fecb0300906438b19f874e615ead80e419b (patch)
tree8858970c6086a4fa93b4c9f804d5b46ef79df9c5 /wiretap/mpeg.c
parente4892bb6c305211bf5b3fc1ba56a87981368eff8 (diff)
P64 fixes.
svn path=/trunk/; revision=27683
Diffstat (limited to 'wiretap/mpeg.c')
-rw-r--r--wiretap/mpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/mpeg.c b/wiretap/mpeg.c
index fcecacea18..8ce82a3af7 100644
--- a/wiretap/mpeg.c
+++ b/wiretap/mpeg.c
@@ -48,11 +48,11 @@
#define PES_PREFIX 1
#define PES_VALID(n) (((n) >> 8 & 0xffffff) == PES_PREFIX)
-static size_t
+static int
mpeg_resync(wtap *wth, int *err, gchar **err_info _U_)
{
gint64 offset = file_tell(wth->fh);
- size_t count = 0;
+ int count = 0;
int byte = file_getc(wth->fh);
while (byte != EOF) {
@@ -113,7 +113,7 @@ mpeg_read(wtap *wth, int *err, gchar **err_info _U_,
{
guint32 n;
int bytes_read = mpeg_read_header(wth, err, err_info, &n);
- unsigned packet_size;
+ unsigned int packet_size;
struct wtap_nstime ts = wth->capture.mpeg->now;
if (bytes_read == -1)