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:
Guy Harris 2018-04-09 13:04:53 -07:00
parent d347091da9
commit 777b17c374
1 changed files with 2 additions and 2 deletions

View File

@ -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;