summaryrefslogtreecommitdiff
path: root/camlibs/toshiba
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/toshiba
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/toshiba')
-rw-r--r--camlibs/toshiba/pdrm11/pdrm11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/toshiba/pdrm11/pdrm11.c b/camlibs/toshiba/pdrm11/pdrm11.c
index 94f000b8d..d28abd8a6 100644
--- a/camlibs/toshiba/pdrm11/pdrm11.c
+++ b/camlibs/toshiba/pdrm11/pdrm11.c
@@ -224,7 +224,7 @@ int pdrm11_get_file(CameraFilesystem *fs, const char *filename, CameraFileType t
gp_file_set_mime_type(file, GP_MIME_JPEG);
- gp_file_set_data_and_size(file, image, size);
+ gp_file_set_data_and_size(file, (char *)image, size);
return(GP_OK);
}