summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-05-29 22:25:38 -0700
committerAleksander Morgado <aleksander@aleksander.es>2014-07-29 16:57:53 +0200
commitdd3923c3e6bea8a811fcf1f46bf426c1d600ec87 (patch)
tree5d01edd2db165d4708364735073d0f12e64724b9
parentea5b42ffdee037c9e41e911959e8a1f74ef795bc (diff)
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.c4
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)