Fixed build error 85/194785/2 accepted/tizen/unified/20181210.060231 submit/tizen/20181207.072559 submit/tizen/20181210.004219
authorsaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 07:16:39 +0000 (16:16 +0900)
committersaerome kim <saerome.kim@samsung.com>
Fri, 7 Dec 2018 07:21:44 +0000 (16:21 +0900)
The guint64 format is changed by G_GUINT64_FORMAT regardless of the each
CPU architecture.

Change-Id: If84b7b86474f3ea3abce0f54781b94995be255e0
Signed-off-by: saerome kim <saerome.kim@samsung.com>
packaging/capi-network-wifi-mesh.spec
src/wifi-mesh-dbus.c

index 7ba8ddaadb5b2a60ba62627cdc0fd71d2a7cbb7f..12e78b0e70da24b6252ca4c01da23cf42b7c7f9a 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 1
+%define patchlevel 2
 
 Name:           capi-network-wifi-mesh
 Version:        %{major}.%{minor}.%{patchlevel}
index 1937127e5e007dc5d8c3875c3f2f46db4f60ddf4..c933ca2089995f75035681850446d90412204d20 100644 (file)
@@ -1817,13 +1817,13 @@ int _wifi_mesh_get_stations_info(wifi_mesh_h handle,
                                        LOGE("inactive_time = %d", station.inactive_time);
                                } else if (strcasecmp(key, "rx_bytes") == 0)  {
                                        station.rx_bytes = g_variant_get_uint64(val);
-                                       LOGE("rx_bytes = %llu", station.rx_bytes);
+                                       LOGE("rx_bytes = %" G_GUINT64_FORMAT, station.rx_bytes);
                                } else if (strcasecmp(key, "rx_packets") == 0)  {
                                        station.rx_packets = g_variant_get_uint32(val);
                                        LOGE("rx_packets = %d", station.rx_packets);
                                } else if (strcasecmp(key, "tx_bytes") == 0)  {
                                        station.tx_bytes = g_variant_get_uint64(val);
-                                       LOGE("tx_bytes = %llu", station.tx_bytes);
+                                       LOGE("tx_bytes = %" G_GUINT64_FORMAT, station.tx_bytes);
                                } else if (strcasecmp(key, "tx_packets") == 0)  {
                                        station.tx_packets = g_variant_get_uint32(val);
                                        LOGE("rx_packets = %d", station.tx_packets);
@@ -1838,10 +1838,10 @@ int _wifi_mesh_get_stations_info(wifi_mesh_h handle,
                                        LOGE("beacon_loss = %d", station.beacon_loss);
                                } else if (strcasecmp(key, "beacon_rx") == 0)  {
                                        station.beacon_rx = g_variant_get_uint64(val);
-                                       LOGE("beacon_rx = %llu", station.beacon_rx);
+                                       LOGE("beacon_rx = %" G_GUINT64_FORMAT, station.beacon_rx);
                                } else if (strcasecmp(key, "rx_drop_misc") == 0)  {
                                        station.rx_drop_misc = g_variant_get_uint64(val);
-                                       LOGE("rx_drop_misc = %llu", station.rx_drop_misc);
+                                       LOGE("rx_drop_misc = %" G_GUINT64_FORMAT, station.rx_drop_misc);
                                } else if (strcasecmp(key, "signal") == 0)  {
                                        station.signal = g_variant_get_int32(val);
                                        LOGE("signal = %d", station.signal);