diff options
author | Richard Röjfors <richard@puffinpack.se> | 2020-12-20 11:18:27 +0000 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2020-12-22 09:45:05 -0600 |
commit | 429a5a57dadfe4dabd366ad89461f1c5cde300d5 (patch) | |
tree | 30cda00b02fdabe090178cbfed60457ad9f3c629 /.gitignore | |
parent | 66cd5df5d754ffa30f4d9a189d62c71658fb86b0 (diff) | |
download | ofono-429a5a57dadfe4dabd366ad89461f1c5cde300d5.tar.gz |
util: Fix implicit enum conversion
GCC10 complains about the following:
src/smsutil.c: In function ‘sms_text_prepare_with_alphabet’:
src/smsutil.c:3594:8: error: implicit conversion from ‘enum sms_alphabet’ to ‘enum gsm_dialect’ [-Werror=enum-conversion]
3594 | alphabet, &used_locking,
smsutil and util has an enum each for representing
the same thing; The SMS alphabet. They share the same
values, so an explicit type cast makes GCC happy.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions