summaryrefslogtreecommitdiff
path: root/camlibs/mustek/rs232.c
diff options
context:
space:
mode:
Diffstat (limited to 'camlibs/mustek/rs232.c')
-rw-r--r--camlibs/mustek/rs232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/mustek/rs232.c b/camlibs/mustek/rs232.c
index 905656118..a4ce4866a 100644
--- a/camlibs/mustek/rs232.c
+++ b/camlibs/mustek/rs232.c
@@ -124,7 +124,7 @@ int mdc800_rs232_waitForCommit (GPPort *port,char commandid)
int ret;
gp_port_set_timeout(port,mdc800_io_getCommandTimeout(commandid));
- ret = gp_port_read(port,ch,1);
+ ret = gp_port_read(port,(char *)ch,1);
if (ret!=1)
{
printCError ("(mdc800_rs232_waitForCommit) Error receiving commit !\n");