aboutsummaryrefslogtreecommitdiffstats
path: root/packet-spnego.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-04-30 06:24:35 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-04-30 06:24:35 +0000
commit9876b49bea594b97a4c94caef3a55c260952d4ec (patch)
treecc21d61462f644d4a220a6de8b6ec08fdcef0fb1 /packet-spnego.c
parentb58b62b61e52d450775e10b2f084b02c4466feca (diff)
MSVC warnings removed
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10738 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-spnego.c')
-rw-r--r--packet-spnego.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-spnego.c b/packet-spnego.c
index be6a7b3453..f6acfc1bb6 100644
--- a/packet-spnego.c
+++ b/packet-spnego.c
@@ -5,7 +5,7 @@
* Copyright 2002, Richard Sharpe <rsharpe@ns.aus.com>
* Copyright 2003, Richard Sharpe <rsharpe@richardsharpe.com>
*
- * $Id: packet-spnego.c,v 1.52 2004/04/02 22:01:21 sahlberg Exp $
+ * $Id: packet-spnego.c,v 1.53 2004/04/30 06:24:35 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -757,7 +757,7 @@ dissect_spnego_mechToken(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
* frame or we will not even attempt to dissect those bytes we
* do have. (since there will be an exception)
*/
- if(nbytes>tvb_length_remaining(tvb,offset)){
+ if((gint)nbytes>tvb_length_remaining(tvb,offset)){
nbytes=tvb_length_remaining(tvb,offset);
}
item = proto_tree_add_item(tree, hf_spnego_mechtoken, tvb, offset,