diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:18:38 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-05-19 13:44:23 +0200 |
commit | bd2e6f5df43236f709113647845afb9fe095f837 (patch) | |
tree | f1dfcdffac57f651f0fd8d07fac6d396974bfb0b /src/mm-error-helpers.h | |
parent | 175bedf920159f75b2d517fd638835569477aa55 (diff) |
huawei: avoid cast-align errors
We can safely cast the data in a GArray to gpointer first, and then
to the pointer type we require.
huawei/mm-broadband-modem-huawei.c: In function 'set_current_bands':
huawei/mm-broadband-modem-huawei.c:916:50: error: cast increases required alignment of target type [-Werror=cast-align]
bands_string = mm_common_build_bands_string ((MMModemBand *)bands_array->data,
^
Diffstat (limited to 'src/mm-error-helpers.h')
0 files changed, 0 insertions, 0 deletions