diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch')
-rw-r--r-- | meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch new file mode 100644 index 000000000..0b0cf8b6e --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth/0001-bluetooth-input-Fix-compile-errors.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From e3c789d6dca9a8a99b60b86e28d8119c55253c13 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 15 May 2013 08:37:03 -0700 | ||
4 | Subject: [PATCH] bluetooth-input: Fix compile errors | ||
5 | |||
6 | XID is unsigned long type so %d will error out with -Wformat | ||
7 | where format warnings are being treated at errors | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | |||
11 | Upstream-Status: Unknown | ||
12 | --- | ||
13 | wizard/bluetooth-input.c | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/wizard/bluetooth-input.c b/wizard/bluetooth-input.c | ||
17 | index b3fbdaf..d17e67c 100644 | ||
18 | --- a/wizard/bluetooth-input.c | ||
19 | +++ b/wizard/bluetooth-input.c | ||
20 | @@ -190,12 +190,12 @@ bluetooth_input_check_for_devices (BluetoothInput *input) | ||
21 | if (bluetooth_input_device_get_type (&device_info[i], &is_mouse, &is_keyboard) == FALSE) | ||
22 | continue; | ||
23 | if (is_mouse != FALSE) { | ||
24 | - g_message ("has mouse: %s (id = %d)", device_info[i].name, device_info[i].id); | ||
25 | + g_message ("has mouse: %s (id = %lu)", device_info[i].name, device_info[i].id); | ||
26 | has_mouse = TRUE; | ||
27 | //break; | ||
28 | } | ||
29 | if (is_keyboard != FALSE) { | ||
30 | - g_message ("has keyboard: %s (id = %d)", device_info[i].name, device_info[i].id); | ||
31 | + g_message ("has keyboard: %s (id = %lu)", device_info[i].name, device_info[i].id); | ||
32 | has_keyboard = TRUE; | ||
33 | //break; | ||
34 | } | ||
35 | -- | ||
36 | 1.7.9.5 | ||
37 | |||