diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-21 03:32:16 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-21 03:32:16 +0000 |
commit | 5996b49c531a8844b0d5e110ab435cbf3b3efed3 (patch) | |
tree | 7d185fc764e251ceaca4666ef22f240ffedb4a7a /wiretap/erf.c | |
parent | 9bfcd83721876d337580e8fdc26d18cd8d317093 (diff) |
Squelch implicit 64-bit-to-32-bit conversion warnings.
svn path=/trunk/; revision=46650
Diffstat (limited to 'wiretap/erf.c')
-rw-r--r-- | wiretap/erf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c index 3bf9df54de..b64c009260 100644 --- a/wiretap/erf.c +++ b/wiretap/erf.c @@ -651,7 +651,7 @@ static gboolean erf_dump( alignbytes = (8 - (other_phdr.erf.phdr.rlen % 8)) % 8; /*calculate how much padding will be required */ if(phdr->caplen < phdr->len){ /*if packet has been snapped, we need to round down what we output*/ - round_down = (8 - alignbytes) % 8; + round_down = (8 - (guint)alignbytes) % 8; other_phdr.erf.phdr.rlen -= round_down; }else{ other_phdr.erf.phdr.rlen += (gint16)alignbytes; |