From b683eca5c8529410c973cf0a462538a23f7657e2 Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Thu, 28 Sep 2017 21:45:46 +0200 Subject: [PATCH] Use the correct data type for the return value --- src/cochran_commander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cochran_commander.c b/src/cochran_commander.c index 525db90..688c019 100644 --- a/src/cochran_commander.c +++ b/src/cochran_commander.c @@ -539,7 +539,7 @@ cochran_commander_read (cochran_commander_device_t *device, dc_event_progress_t } -static unsigned int +static dc_status_t cochran_commander_read_retry (cochran_commander_device_t *device, dc_event_progress_t *progress, unsigned int address, unsigned char data[], unsigned int size) { // Save the state of the progress events.