From ecca960bd94ae86ab20c11bf76890a42de866e13 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 24 Aug 2015 12:16:36 +1000 Subject: [PATCH] hidpp10: __u8 -> uint8_t Signed-off-by: Peter Hutterer --- src/hidpp10.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hidpp10.c b/src/hidpp10.c index 09aef618..453a4619 100644 --- a/src/hidpp10.c +++ b/src/hidpp10.c @@ -76,7 +76,7 @@ const char *device_types[0xFF] = { static int -hidpp10_write_command(struct ratbag_device *device, __u8 *cmd, int size) +hidpp10_write_command(struct ratbag_device *device, uint8_t *cmd, int size) { int res = ratbag_hidraw_output_report(device, cmd, size); @@ -98,7 +98,7 @@ hidpp10_request_command(struct ratbag_device *device, union hidpp10_message *msg union hidpp10_message expected_error_recv = ERROR_MSG(msg, RECEIVER_IDX); union hidpp10_message expected_error_dev = ERROR_MSG(msg, msg->msg.device_idx); int ret; - __u8 hidpp_err = 0; + uint8_t hidpp_err = 0; /* create the expected header */ expected_header = *msg;