summaryrefslogtreecommitdiff
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-07-14 17:43:14 -0700
committerGuy Harris <guy@alum.mit.edu>2016-07-15 01:13:31 +0000
commitbb610ac57b0c4a493c385fd1b9c55f1cb0eaa8c2 (patch)
tree053026a9c45a122413a6e043e807a23e9c228869 /wiretap
parent1f8999bb96018446e48529e75e56bf17dd3c77cf (diff)
downloadwireshark-bb610ac57b0c4a493c385fd1b9c55f1cb0eaa8c2.tar.gz
Fix signature of wtap_opttype_block_register().
It gets passed a wtap_block_type_t value, so declare it as such. Change-Id: I6980cab7e1885c9920b2a75e12f9d2d2a64d6f96 Reviewed-on: https://code.wireshark.org/review/16450 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/wtap_opttypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap_opttypes.c b/wiretap/wtap_opttypes.c
index 445621e274..c5b4f62262 100644
--- a/wiretap/wtap_opttypes.c
+++ b/wiretap/wtap_opttypes.c
@@ -79,7 +79,7 @@ static wtap_blocktype_t* blocktype_list[MAX_WTAP_BLOCK_TYPE_VALUE];
static guint num_custom_blocks;
static wtap_blocktype_t custom_blocktype_list[MAX_WTAP_BLOCK_CUSTOM];
-static void wtap_opttype_block_register(int block_type, wtap_blocktype_t *blocktype)
+static void wtap_opttype_block_register(wtap_block_type_t block_type, wtap_blocktype_t *blocktype)
{
static const wtap_opttype_t opt_comment = {
"opt_comment",