Fixed build error 94/194794/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20181210.001936 submit/tizen_4.0/20181207.072729
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:24:19 +0000 (07:24 +0000)
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>
(cherry picked from commit 77bd29331f57d7f7d8bc5f813a1b4ced107b2f78)

packaging/capi-network-wifi-mesh.spec
src/wifi-mesh-dbus.c

index 27a12f0..0b3ae26 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 d1785d3..1443ca6 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);