Fix dlog format issues
[platform/core/connectivity/bluetooth-agent.git] / map-agent / bluetooth_map_sms.c
index 49993ee..eba780b 100644 (file)
@@ -896,7 +896,7 @@ static message_info_t *__bt_message_info_get(msg_struct_t msg_struct_handle,
 #else
        snprintf(msg_handle, sizeof(msg_handle), "%llx", uid);
 #endif
-       DBG("HANDLE: %s, MAP Id: %d, MSG ID:%d", msg_handle, uid, msg_id);
+       DBG("HANDLE: %s, MAP Id: %llu, MSG ID:%d", msg_handle, uid, msg_id);
        msg_info->handle = g_strdup(msg_handle);
 
        msg = msg_create_struct(MSG_STRUCT_MESSAGE_INFO);
@@ -1102,7 +1102,7 @@ gboolean _bt_map_get_sms_message_list(gchar *folder, guint16 max,
                goto fail;
 
        local_count = (guint64)msg_list.nCount;
-       DBG("msg_list.nCount: %d, count:%d", msg_list.nCount, local_count);
+       DBG("msg_list.nCount: %d, count:%llu", msg_list.nCount, local_count);
        for (i = 0; i < local_count; i++) {
                msg_get_bool_value(msg_list.msg_struct_info[i],
                                        MSG_MESSAGE_READ_BOOL, &read);