diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-30 22:58:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-30 22:58:54 +0000 |
commit | 7f2e644e84d70bc1e9f737cd1d24dd1ed5904373 (patch) | |
tree | dfd780355285f0f334f2754361ee594fbb1d63aa /packet-icmpv6.c | |
parent | d4017a1ee13a71b6618f297ec16c763dccbd1c9f (diff) |
Make some variables volatile because GCC on Digital UNIX complained
about them being trashed by setjmp/longjmp (does GCC there stuff them
into registers? They're bigger than 64 bits, so they don't even fit
into a single register on Alpha).
svn path=/trunk/; revision=4636
Diffstat (limited to 'packet-icmpv6.c')
-rw-r--r-- | packet-icmpv6.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-icmpv6.c b/packet-icmpv6.c index 3a6b30331b..f694ffa5a6 100644 --- a/packet-icmpv6.c +++ b/packet-icmpv6.c @@ -1,7 +1,7 @@ /* packet-icmpv6.c * Routines for ICMPv6 packet disassembly * - * $Id: packet-icmpv6.c,v 1.64 2002/01/24 09:20:48 guy Exp $ + * $Id: packet-icmpv6.c,v 1.65 2002/01/30 22:58:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -125,12 +125,12 @@ static void dissect_contained_icmpv6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { tvbuff_t *next_tvb; - address save_dl_src; - address save_dl_dst; - address save_net_src; - address save_net_dst; - address save_src; - address save_dst; + volatile address save_dl_src; + volatile address save_dl_dst; + volatile address save_net_src; + volatile address save_net_dst; + volatile address save_src; + volatile address save_dst; gboolean save_in_error_pkt; next_tvb = tvb_new_subset(tvb, offset, -1, -1); |