file_packet_provider: fix constness in declaration.
This fixes a warning (threated as error) on Windows (ClCompile target) -> C:\projects\wireshark\file_packet_provider.c(84,1): warning C4028: formal parameter 3 different from declaration [C:\projects\wireshark\build\shark_common.vcxproj]pespin/racap
parent
82b1092fe9
commit
ee0dc72084
|
@ -80,7 +80,7 @@ cap_file_provider_get_modified_block(struct packet_provider_data *prov, const fr
|
|||
}
|
||||
|
||||
void
|
||||
cap_file_provider_set_modified_block(struct packet_provider_data *prov, frame_data *fd, wtap_block_t new_block)
|
||||
cap_file_provider_set_modified_block(struct packet_provider_data *prov, frame_data *fd, const wtap_block_t new_block)
|
||||
{
|
||||
if (!prov->frames_modified_blocks)
|
||||
prov->frames_modified_blocks = g_tree_new_full(frame_cmp, NULL, NULL, (GDestroyNotify)wtap_block_unref);
|
||||
|
|
Loading…
Reference in New Issue