aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wcp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-23 21:58:37 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-23 21:58:37 +0000
commitd0ac50e4e7724cd0785b796af925eab1aed41a0e (patch)
tree5f49f9d5fb68db86f6caf8990e795c9c3c506e9c /packet-wcp.c
parent080d72123e1f55d00a806ad1c54ec41b513305e4 (diff)
Add "volatile" qualifiers so that variables survive a setjmp/longjmp
operation. svn path=/trunk/; revision=3175
Diffstat (limited to 'packet-wcp.c')
-rw-r--r--packet-wcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-wcp.c b/packet-wcp.c
index 08e0335130..ea2dd3506f 100644
--- a/packet-wcp.c
+++ b/packet-wcp.c
@@ -2,7 +2,7 @@
* Routines for Wellfleet Compression frame disassembly
* Copyright 2001, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-wcp.c,v 1.3 2001/03/23 21:49:23 guy Exp $
+ * $Id: packet-wcp.c,v 1.4 2001/03/23 21:58:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -507,9 +507,9 @@ static tvbuff_t *wcp_uncompress( tvbuff_t *src_tvb, int offset, packet_info *pin
guint8 *buf = 0, *dst, *src, *buf_start, *buf_end, *tmp, comp_flag_bits = 0;
guint8 src_buf[ MAX_WCP_BUF_LEN];
- tvbuff_t *tvb = 0;
+ tvbuff_t *volatile tvb = 0;
wcp_window_t *buf_ptr = 0;
- wcp_pdata_t *pdata_ptr;
+ wcp_pdata_t *volatile pdata_ptr;
buf_ptr = get_wcp_window_ptr( pinfo);