Commit: 18a7a7ecb5f3717b85315f243ed1faaa1906ae5a
Parent: 81c45d5f75a98299612f43d64f439377fea4cf17
Author: Szymon Janc <szymon.janc@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-05-14 23:14:30
Tree: 92e1005f799418f9b476bca5ba84ad2a675e426d

input: Fix compilation errors on 32 bit machine Fix following with GCC version 4.8.2 (Debian 4.8.2-21): CC profiles/input/bluetoothd-device.o profiles/input/device.c: In function ‘uhid_send_feature_answer’: profiles/input/device.c:232:8: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=] len, sizeof(ev)); ^ profiles/input/device.c: In function ‘uhid_send_input_report’: profiles/input/device.c:274:8: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Werror=format=] len, sizeof(ev)); ^

Diffstat

M profiles/input/device.c | 4 ++- -

1 files changed, 2 insertions(+), 2 deletions(-)

View Full Diff | Patch