URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=879c05335ffb01d1bc7a6c34d1f47ba022e6b01c
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
879c053 by Gerald Combs (gerald@xxxxxxxxxxxxx):
reassemble_test: Fix some compiler warnings.
Fix
../epan/reassemble_test.c:394:23: warning: cast from 'const unsigned char *' to 'void *' drops const qualifier [-Wcast-qual]
ASSERT_EQ_POINTER(tvb_get_ptr(fd_head->tvb_data,0,0),tvb_get_ptr(fd->tvb_data,0,0));
^
../epan/reassemble_test.c:394:58: warning: cast from 'const unsigned char *' to 'void *' drops const qualifier [-Wcast-qual]
ASSERT_EQ_POINTER(tvb_get_ptr(fd_head->tvb_data,0,0),tvb_get_ptr(fd->tvb_data,0,0));
^
../epan/reassemble_test.c:429:23: warning: cast from 'const unsigned char *' to 'void *' drops const qualifier [-Wcast-qual]
ASSERT_EQ_POINTER(tvb_get_ptr(fd_head->tvb_data,0,0),tvb_get_ptr(fd->tvb_data,0,0));
^
../epan/reassemble_test.c:429:58: warning: cast from 'const unsigned char *' to 'void *' drops const qualifier [-Wcast-qual]
ASSERT_EQ_POINTER(tvb_get_ptr(fd_head->tvb_data,0,0),tvb_get_ptr(fd->tvb_data,0,0));
Change-Id: I17c4a28b1d2893b1c2acae14dec498baadfd0646
Reviewed-on: https://code.wireshark.org/review/32477
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 0781a88 Debian: Add a missing symbol.
add 879c053 reassemble_test: Fix some compiler warnings.
Summary of changes:
epan/reassemble_test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)