diff options
author | Ben Chan <benchan@chromium.org> | 2014-05-29 22:25:38 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-05-30 08:43:14 +0200 |
commit | 7d0a62e75d07051d9767cb756c2b47e7fa12f013 (patch) | |
tree | d6124e23cb33307c03a8f7e537ae14b3228add12 | |
parent | 00be07418e864abca6fcc592482dc229076551a4 (diff) | |
download | external_libqmi-7d0a62e75d07051d9767cb756c2b47e7fa12f013.zip external_libqmi-7d0a62e75d07051d9767cb756c2b47e7fa12f013.tar.gz external_libqmi-7d0a62e75d07051d9767cb756c2b47e7fa12f013.tar.bz2 |
cli,nas: fix unmatched format specifiers
This patch fixes the following unmatched format specifiers:
qmicli-nas.c:2331:18: error: format specifies type 'unsigned short' but the argument has type 'guint8'
(aka 'unsigned char') [-Werror,-Wformat]
base_station_identity_code);
^~~~~~~~~~~~~~~~~~~~~~~~~~
qmicli-nas.c:2376:22: error: format specifies type 'unsigned short' but the argument has type 'guint8'
(aka 'unsigned char') [-Werror,-Wformat]
element->base_station_identity_code);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-rw-r--r-- | src/qmicli/qmicli-nas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c index 46b878b..015ff71 100644 --- a/src/qmicli/qmicli-nas.c +++ b/src/qmicli/qmicli-nas.c @@ -2326,7 +2326,7 @@ get_cell_location_info_ready (QmiClientNas *client, g_free (plmn); } g_print ("\tGERAN Absolute RF Channel Number: '%" G_GUINT16_FORMAT"'\n" - "\tBase Station Identity Code: '%" G_GUINT16_FORMAT"'\n", + "\tBase Station Identity Code: '%u'\n", absolute_rf_channel_number, base_station_identity_code); if (timing_advance == 0xFFFFFFFF) @@ -2371,7 +2371,7 @@ get_cell_location_info_ready (QmiClientNas *client, g_free (plmn); } g_print ("\t\tGERAN Absolute RF Channel Number: '%" G_GUINT16_FORMAT"'\n" - "\t\tBase Station Identity Code: '%" G_GUINT16_FORMAT"'\n", + "\t\tBase Station Identity Code: '%u'\n", element->geran_absolute_rf_channel_number, element->base_station_identity_code); if (element->rx_level == 0) |