aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 18:48:57 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 18:48:57 +0000
commit3288a39db202082ceb1120367d017792323fdecf (patch)
tree98e9c9c07f3e08e57801294ae793ebcf4ff053aa
parent64cc1b407c6d0cd171d1c2f70277e7939d8b99da (diff)
downloadwireshark-3288a39db202082ceb1120367d017792323fdecf.tar.gz
wireshark-3288a39db202082ceb1120367d017792323fdecf.tar.bz2
wireshark-3288a39db202082ceb1120367d017792323fdecf.zip
From Sebastien Tandel:
copy paste hit again, here is a patch with the accurate declaration of RVALS in proto.h Thx gcc-4.1.2 for finding new ways of generating strict aliasing warnings :) patch with accurate comment and declaration. svn path=/trunk/; revision=21157
-rw-r--r--epan/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 637dd0f59c..f77bbb9572 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -69,9 +69,9 @@ struct _value_string;
/** Make a const true_false_string[] look like a _true_false_string pointer, used to set header_field_info.strings */
#define TFS(x) (const struct true_false_string*)(x)
-/** Make a const value_string[] look like a _value_string pointer, used to set
+/** Make a const range_string[] look like a _range_string pointer, used to set
* header_field_info.strings */
-#define RVALS(x) (const struct _value_string*)(x)
+#define RVALS(x) (const struct _range_string*)(x)
struct _protocol;