Fix 64bit build error 54/195654/1 accepted/tizen/unified/20181218.063045 submit/tizen/20181217.081411
authorYu <jiung.yu@samsung.com>
Mon, 17 Dec 2018 05:27:36 +0000 (14:27 +0900)
committerYu <jiung.yu@samsung.com>
Mon, 17 Dec 2018 05:27:47 +0000 (14:27 +0900)
Change-Id: I9c9c7be32fa87ba03c8b653ad1277cd3040f282b
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
src/session/asp-session.c
src/tech/asp-tech-infra.c

index c6c5c88..52adfde 100644 (file)
@@ -795,7 +795,7 @@ void _p2p_conn_ip_assigned_cb(gint32 error_code, const guint8 *session_mac,
                g_strlcpy(p_param->peer_ip_addr, peer_ip_addr, ASP_SESSION_IPV4_STR_LEN);
                p_param->length = ip_length;
 
-               ASP_LOGD("%s %d", p_param->peer_ip_addr, p_param->length);
+               ASP_LOGD("%s %zu", p_param->peer_ip_addr, p_param->length);
                gfsm_process_event(&(session->context),
                                   gfsm_create_event(SESSION_EVENT_IP_ASSIGNED, p_param, g_free));
        }
index f6072ac..bf66ec9 100644 (file)
@@ -529,7 +529,7 @@ gint32 asp_tech_infra_seek(asp_service_seek_s *service)
        g_hash_table_insert(g_browser_hash,
                        GUINT_TO_POINTER(service->search_id), GUINT_TO_POINTER(browser_handle));
 
-       ASP_LOGD("Insert (%llu, %u) to g_browser_hash (size: %d)",
+       ASP_LOGD("Insert (%lu, %u) to g_browser_hash (size: %d)",
                        service->search_id, browser_handle,
                        g_hash_table_size(g_browser_hash));
 
@@ -549,7 +549,7 @@ gint32 asp_tech_infra_cancel_seek(asp_service_seek_s *service)
 
        if (!browser_handle) {
                /* TODO */
-               ASP_LOGE("Failed to lookup search id %llu", service->search_id);
+               ASP_LOGE("Failed to lookup search id %lu", service->search_id);
                return result;
        }