aboutsummaryrefslogtreecommitdiff
path: root/src/mm-modem-helpers.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-05-19 13:16:51 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-05-19 13:44:23 +0200
commitccf16e00a73291899af4631557c90e4e697f9841 (patch)
treed92409e4f313213f9c3c6c9a6d930831c9b9ccef /src/mm-modem-helpers.c
parent76d06ce697bd95e586d07361b4a447ced5b851f1 (diff)
ublox,helpers: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then to the pointer type we require. ublox/mm-modem-helpers-ublox.c: In function 'parse_bands_from_string': ublox/mm-modem-helpers-ublox.c:1612:48: error: cast increases required alignment of target type [-Werror=cast-align] tmpstr = mm_common_build_bands_string ((MMModemBand *)(bands->data), bands->len); ^
Diffstat (limited to 'src/mm-modem-helpers.c')
0 files changed, 0 insertions, 0 deletions