summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/serial_ftdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c
index f982d81c7..202895cc0 100644
--- a/core/serial_ftdi.c
+++ b/core/serial_ftdi.c
@@ -350,7 +350,7 @@ static dc_status_t serial_ftdi_set_timeout (void **userdata, long timeout)
return DC_STATUS_SUCCESS;
}
-static dc_status_t serial_ftdi_set_halfduplex (void **userdata, int value)
+static dc_status_t serial_ftdi_set_halfduplex (void **userdata, unsigned int value)
{
ftdi_serial_t *device = (ftdi_serial_t*) *userdata;