summaryrefslogtreecommitdiff
path: root/camlibs/samsung
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2014-04-11 20:18:36 +0000
committerMarcus Meissner <marcus@jet.franken.de>2014-04-11 20:18:36 +0000
commit292d2f69aa9846a2d24dafb0263828e8806f34c7 (patch)
tree16d2b6363518b107fb1c0f30f2fd1376aaa24ea1 /camlibs/samsung
parent7318557c352d818da699bc5328756c233c9c1060 (diff)
downloadlibgphoto2-292d2f69aa9846a2d24dafb0263828e8806f34c7.tar.gz
From: "Daniel P. Berrange" <dan@berrange.com>
Many calls of gp_file_* 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@14900 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/samsung')
-rw-r--r--camlibs/samsung/samsung.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/samsung/samsung.c b/camlibs/samsung/samsung.c
index 7fc2c648b..8fcd30388 100644
--- a/camlibs/samsung/samsung.c
+++ b/camlibs/samsung/samsung.c
@@ -222,7 +222,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename,
break;
if (result < 0)
return result;
- gp_file_append(file,buffer,SDSC_BLOCKSIZE);
+ gp_file_append(file,(char *)buffer,SDSC_BLOCKSIZE);
curread += SDSC_BLOCKSIZE;
gp_context_progress_update(context, pid, curread);
if (gp_context_cancel(context) == GP_CONTEXT_FEEDBACK_CANCEL)