From: <mar...@us...> - 2007-12-30 22:31:30
|
Revision: 10919 http://gphoto.svn.sourceforge.net/gphoto/?rev=10919&view=rev Author: marcusmeissner Date: 2007-12-30 14:31:32 -0800 (Sun, 30 Dec 2007) Log Message: ----------- cast away two signedness warnngs Modified Paths: -------------- trunk/libgphoto2/camlibs/ptp2/library.c Modified: trunk/libgphoto2/camlibs/ptp2/library.c =================================================================== --- trunk/libgphoto2/camlibs/ptp2/library.c 2007-12-30 22:30:08 UTC (rev 10918) +++ trunk/libgphoto2/camlibs/ptp2/library.c 2007-12-30 22:31:32 UTC (rev 10919) @@ -2943,7 +2943,7 @@ int ret; size_t gotlensize; - ret = gp_file_slurp (private->file, bytes, wantlen, &gotlensize); + ret = gp_file_slurp (private->file, (char*)bytes, wantlen, &gotlensize); *gotlen = gotlensize; if (ret != GP_OK) return PTP_ERROR_IO; @@ -2958,7 +2958,7 @@ PTPCFHandlerPrivate* private = (PTPCFHandlerPrivate*)priv; int ret; - ret = gp_file_append (private->file, bytes, sendlen); + ret = gp_file_append (private->file, (char*)bytes, sendlen); if (ret != GP_OK) return PTP_ERROR_IO; *written = sendlen; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |