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: Ib9bb034f3876abb7e86b6c9f41ebdd35192b5af3 Reviewed-on: https://code.wireshark.org/review/26831 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
d347091da9
commit
777b17c374
|
@ -3079,11 +3079,11 @@ typedef struct pnio_ar_s {
|
|||
|
||||
/* controller only */
|
||||
/*const char controllername[33];*/
|
||||
const guint8 controllermac[6];
|
||||
guint8 controllermac[6];
|
||||
guint16 controlleralarmref;
|
||||
|
||||
/* device only */
|
||||
const guint8 devicemac[6];
|
||||
guint8 devicemac[6];
|
||||
guint16 devicealarmref;
|
||||
guint16 arType;
|
||||
} pnio_ar_t;
|
||||
|
|
Loading…
Reference in New Issue