aboutsummaryrefslogtreecommitdiffstats
path: root/epan/frame_data.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-11-23 22:29:31 +0000
committerMichael Mann <mmann78@netscape.net>2013-11-23 22:29:31 +0000
commit318d38b576603721ce21ff269c0bb9e60dc766b0 (patch)
treeb19bf7382e00fb2defac48b1feec6486678a7c6c /epan/frame_data.c
parentd97c9e2ff4b28835e3485e643a93ef53f778370f (diff)
Use 32bit key in p_add_proto_data() and friends. Bug 9453 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9453)
From Dirk svn path=/trunk/; revision=53529
Diffstat (limited to 'epan/frame_data.c')
-rw-r--r--epan/frame_data.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/frame_data.c b/epan/frame_data.c
index 533f0cfe3e..4957347364 100644
--- a/epan/frame_data.c
+++ b/epan/frame_data.c
@@ -40,7 +40,7 @@
index and opaque pointer. */
typedef struct _frame_proto_data {
int proto;
- guint8 key;
+ guint32 key;
void *proto_data;
} frame_proto_data;
@@ -68,7 +68,7 @@ p_compare(gconstpointer a, gconstpointer b)
}
void
-p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key, void *proto_data)
+p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key, void *proto_data)
{
frame_proto_data *p1;
GSList** proto_list;
@@ -92,7 +92,7 @@ p_add_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto,
}
void *
-p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key)
+p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key)
{
frame_proto_data temp, *p1;
GSList *item;
@@ -117,7 +117,7 @@ p_get_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto,
}
void
-p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint8 key)
+p_remove_proto_data(wmem_allocator_t *scope, struct _packet_info* pinfo, int proto, guint32 key)
{
frame_proto_data temp;
GSList *item;