diff options
author | Laurent Bigonville <bigon@bigon.be> | 2018-10-02 11:29:04 +0200 |
---|---|---|
committer | Laurent Bigonville <bigon@bigon.be> | 2018-10-25 11:52:06 +0200 |
commit | 2f4df9174ea673f525bc7a9b61fa02b1a4fc9006 (patch) | |
tree | 08fda3d2314f5dcb7ee7f5bdb163cfe1b9bfde5a /src/linux | |
parent | 0980b2dd4054a25c8f091f7b3a2f22e80ce61cd6 (diff) | |
download | upower-2f4df9174ea673f525bc7a9b61fa02b1a4fc9006.tar.gz |
src/linux/up-device-hid.c: usage_code is defined as an unsigned integer
Also define "value" as a signed 32 bits integer
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/up-device-hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/up-device-hid.c b/src/linux/up-device-hid.c index 1d48449..095d55a 100644 --- a/src/linux/up-device-hid.c +++ b/src/linux/up-device-hid.c @@ -180,7 +180,7 @@ up_device_hid_convert_device_technology (const gchar *type) * up_device_hid_set_values: **/ static gboolean -up_device_hid_set_values (UpDeviceHid *hid, int code, int value) +up_device_hid_set_values (UpDeviceHid *hid, guint32 code, gint32 value) { const gchar *type; gboolean ret = TRUE; |