diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:15:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:44:23 +0200 |
commit | 76d06ce697bd95e586d07361b4a447ced5b851f1 (patch) | |
tree | 9f00fd23a686fb6ca07615c0a78bc53c85e78d3a /src/mm-log-object.c | |
parent | b0be4e895cc2b3b9f533b513eb4da3be99718497 (diff) |
cinterion,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.
cinterion/mm-modem-helpers-cinterion.c: In function 'mm_cinterion_build_band':
cinterion/mm-modem-helpers-cinterion.c:409:54: error: cast increases required alignment of target type [-Werror=cast-align]
bands_string = mm_common_build_bands_string ((MMModemBand *)bands->data, bands->len);
^
Diffstat (limited to 'src/mm-log-object.c')
0 files changed, 0 insertions, 0 deletions