[gnome-bluetooth] wizard: Fix format warning



commit 668275e94f5aa4b6df1486c6ed6d5a88427345a4
Author: Iain Lane <iain lane canonical com>
Date:   Fri Jun 14 11:55:17 2013 +0100

    wizard: Fix format warning
    
    XID has type unsigned long; use correct format string.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702244

 wizard/bluetooth-input.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wizard/bluetooth-input.c b/wizard/bluetooth-input.c
index 83eb058..7fed10b 100644
--- a/wizard/bluetooth-input.c
+++ b/wizard/bluetooth-input.c
@@ -190,12 +190,12 @@ bluetooth_input_check_for_devices (BluetoothInput *input)
                if (bluetooth_input_device_get_type (&device_info[i], &is_mouse, &is_keyboard) == FALSE)
                        continue;
                if (is_mouse != FALSE) {
-                       g_debug ("has mouse: %s (id = %d)", device_info[i].name, device_info[i].id);
+                       g_debug ("has mouse: %s (id = %lu)", device_info[i].name, device_info[i].id);
                        has_mouse = TRUE;
                        //break;
                }
                if (is_keyboard != FALSE) {
-                       g_debug ("has keyboard: %s (id = %d)", device_info[i].name, device_info[i].id);
+                       g_debug ("has keyboard: %s (id = %lu)", device_info[i].name, device_info[i].id);
                        has_keyboard = TRUE;
                        //break;
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]