aboutsummaryrefslogtreecommitdiffstats
path: root/packet-spnego.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-04-30 06:24:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-04-30 06:24:35 +0000
commit4e730bc8ac99a25896bcb74456904d62c559bdba (patch)
treecc21d61462f644d4a220a6de8b6ec08fdcef0fb1 /packet-spnego.c
parent87f79212c76723847d3ffead579422a65b6f7cc9 (diff)
MSVC warnings removed
svn path=/trunk/; revision=10738
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,