telit: fix warnings with -Wdiscarded-qualifiers
telit/tests/test-mm-modem-helpers-telit.c:48:9: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] 48 | "#BND: (0-3)", TRUE, FALSE, FALSE, FALSE, 4, | ^~~~~~~~~~~~~ ...
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#define MAX_BANDS_LIST_LEN 17
|
||||
|
||||
typedef struct {
|
||||
gchar *response;
|
||||
const gchar *response;
|
||||
gboolean modem_is_2g;
|
||||
gboolean modem_is_3g;
|
||||
gboolean modem_is_4g;
|
||||
|
Reference in New Issue
Block a user