forked from osmocom/wireshark
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>
This commit is contained in:
parent
1f8999bb96
commit
bb610ac57b
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue