aboutsummaryrefslogtreecommitdiffstats
path: root/packet-cops.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-22 21:52:09 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-22 21:52:09 +0000
commite19b9cc5a645d74f1f8bfae4bb972c531e7787ee (patch)
treea448372a8b434b624eccd4a16cd74fc674c3da8d /packet-cops.c
parent8f89638f1b9c17f10a1347d751747830cc8c640c (diff)
Add some necessary "volatile" declarations.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4788 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-cops.c')
-rw-r--r--packet-cops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-cops.c b/packet-cops.c
index c8f7a45032..4010967817 100644
--- a/packet-cops.c
+++ b/packet-cops.c
@@ -4,7 +4,7 @@
*
* Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi>
*
- * $Id: packet-cops.c,v 1.20 2002/02/22 11:28:02 guy Exp $
+ * $Id: packet-cops.c,v 1.21 2002/02/22 21:52:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -434,7 +434,7 @@ static int dissect_cops_pr_object_data(tvbuff_t *tvb, guint32 offset, proto_tree
static void
dissect_cops(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- int offset = 0;
+ volatile int offset = 0;
int length_remaining;
guint32 msg_len;
int length;