file: fix constness in declaration.

Ref: ee0dc72084
This commit is contained in:
Dario Lombardo 2021-08-22 22:36:50 +02:00 committed by Guy Harris
parent 21c222a66e
commit bf5843b646
1 changed files with 1 additions and 1 deletions

2
file.h
View File

@ -706,7 +706,7 @@ wtap_block_t cf_get_packet_block(capture_file *cf, const frame_data *fd);
* @param fd the frame_data structure for the frame
* @param new_block the block replacing the old block
*/
gboolean cf_set_modified_block(capture_file *cf, frame_data *fd, wtap_block_t new_block);
gboolean cf_set_modified_block(capture_file *cf, frame_data *fd, const wtap_block_t new_block);
/**
* What types of comments does this file have?