diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-04-11 20:25:20 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-04-11 20:25:20 +0000 |
commit | 18c4ba9cc44f21f71334787d3d09a60cb49d2c66 (patch) | |
tree | 435a848a4f7b971de2d86c4dcf130c28d08508cb /camlibs/samsung | |
parent | 669d3bfc2fc7b1b8f8fbe4e97e1b51a37068b3ed (diff) | |
download | libgphoto2-18c4ba9cc44f21f71334787d3d09a60cb49d2c66.tar.gz |
From: "Daniel P. Berrange" <dan@berrange.com>
Fixes to misc functions to address char * vs unsigned char *
sign mis-matches, by adding casts to silence the compiler.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14902 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/samsung')
-rw-r--r-- | camlibs/samsung/samsung.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/samsung/samsung.c b/camlibs/samsung/samsung.c index d8bd9f0cf..1f8f55c13 100644 --- a/camlibs/samsung/samsung.c +++ b/camlibs/samsung/samsung.c @@ -269,7 +269,7 @@ file_list_func (CameraFilesystem *fs, const char *folder, CameraList *list, buffer, SDSC_INFOSIZE)); if (is_null (buffer)) break; - gp_list_append(list, buffer, NULL); + gp_list_append(list, (char *)buffer, NULL); } return (GP_OK); } |