diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:16:51 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:44:23 +0200 |
commit | ccf16e00a73291899af4631557c90e4e697f9841 (patch) | |
tree | d92409e4f313213f9c3c6c9a6d930831c9b9ccef /src/main.c | |
parent | 76d06ce697bd95e586d07361b4a447ced5b851f1 (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/main.c')
0 files changed, 0 insertions, 0 deletions