summaryrefslogtreecommitdiff
path: root/camlibs/mustek
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-04-11 20:15:34 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-04-11 20:15:34 +0000
commit7318557c352d818da699bc5328756c233c9c1060 (patch)
treecf2f2b41b0eceb2b1c56679c259871b976003ab5 /camlibs/mustek
parent73861f12036b5dfb912ca0214e6f574a0161c023 (diff)
downloadlibgphoto2-7318557c352d818da699bc5328756c233c9c1060.tar.gz
iFrom: "Daniel P. Berrange" <dan@berrange.com>
Many calls of gp_port_* functions are passing a 'unsigned char *' rather than the 'char *' they expect. Add explicit casts to silence the compiler. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14899 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/mustek')
-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");