[gnome-bluetooth/gnome-3-8] wizard: Fix format warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/gnome-3-8] wizard: Fix format warning
- Date: Fri, 14 Jun 2013 11:46:55 +0000 (UTC)
commit d0c92bff74eb5ee42c763a161e4ceea381999039
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]