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));
}
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));
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;
}