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:
Aleksander Morgado
2020-01-14 10:22:33 +01:00
parent b0f9ddd295
commit 7655f3b35c

View File

@@ -34,7 +34,7 @@
#define MAX_BANDS_LIST_LEN 17 #define MAX_BANDS_LIST_LEN 17
typedef struct { typedef struct {
gchar *response; const gchar *response;
gboolean modem_is_2g; gboolean modem_is_2g;
gboolean modem_is_3g; gboolean modem_is_3g;
gboolean modem_is_4g; gboolean modem_is_4g;