forked from osmocom/wireshark
Fix a compiler warning.
Change-Id: I5b4b518982dc6033842b1e791e67d2faddfb5487 Reviewed-on: https://code.wireshark.org/review/1777 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
1b6cc6320e
commit
d5b173009c
|
@ -414,7 +414,7 @@ register_pcapng_block_type_handler(guint block_type, block_reader read,
|
|||
g_direct_equal,
|
||||
NULL, g_free);
|
||||
}
|
||||
handler = g_malloc(sizeof *handler);
|
||||
handler = (block_handler *)g_malloc(sizeof *handler);
|
||||
handler->read = read;
|
||||
handler->write = write;
|
||||
(void)g_hash_table_insert(block_handlers, GUINT_TO_POINTER(block_type),
|
||||
|
|
Loading…
Reference in New Issue