Remove const from fields in a dynamically-allocated structure.
There's no need for them to be const, and that causes compiler warnings when you try to give them a value. Change-Id: I666a03dd443dff462de0fe2e393284f3341535d0 Reviewed-on: https://code.wireshark.org/review/26834 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
e085119b66
commit
1a29a70443
|
@ -272,7 +272,7 @@ typedef struct cba_frame_s {
|
|||
guint packet_last;
|
||||
|
||||
guint16 length;
|
||||
const guint8 consmac[6];
|
||||
guint8 consmac[6];
|
||||
guint16 conscrid;
|
||||
guint32 provcrid;
|
||||
guint32 conncrret;
|
||||
|
|
|
@ -16,7 +16,7 @@ typedef struct cba_pdev_s {
|
|||
dcom_object_t *object;
|
||||
gint first_packet;
|
||||
|
||||
const guint8 ip[4];
|
||||
guint8 ip[4];
|
||||
} cba_pdev_t;
|
||||
|
||||
typedef struct cba_ldev_s {
|
||||
|
|
Loading…
Reference in New Issue