aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-14 07:10:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-09-14 07:10:13 +0000
commitac3b47106ad1f890742eddb0421ee47b8a835917 (patch)
treef03564f0bad20129e2a6ef83bc198287372a9cae /packet-osi.c
parentb2552bbd08807b250f8a20ed5b919bfdfed56e79 (diff)
Make the resolution for time values be nanoseconds rather than
microseconds. Fix some "signed vs. unsigned" comparison warnings. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3934 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-osi.c')
-rw-r--r--packet-osi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-osi.c b/packet-osi.c
index 4b5c8900a8..1cbf57bc76 100644
--- a/packet-osi.c
+++ b/packet-osi.c
@@ -2,7 +2,7 @@
* Routines for ISO/OSI network and transport protocol packet disassembly
* Main entrance point and common functions
*
- * $Id: packet-osi.c,v 1.45 2001/06/05 09:06:19 guy Exp $
+ * $Id: packet-osi.c,v 1.46 2001/09/14 07:10:05 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -55,7 +55,7 @@ calc_checksum( tvbuff_t *tvb, int offset, u_int len, u_int checksum) {
const guint8 *p;
guint32 c0, c1;
u_int seglen;
- int i;
+ u_int i;
if ( 0 == checksum )
return( NO_CKSUM );