[csw-devel] SF.net SVN: gar:[18755] csw/mgar/pkg/libofx/trunk/files/ 0001-Permissive-cast.patch
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Mon Jul 16 10:54:19 CEST 2012
Revision: 18755
http://gar.svn.sourceforge.net/gar/?rev=18755&view=rev
Author: pfelecan
Date: 2012-07-16 08:54:18 +0000 (Mon, 16 Jul 2012)
Log Message:
-----------
libofx/trunk: patch for permissive cast (the patch itself); not ready for release
Added Paths:
-----------
csw/mgar/pkg/libofx/trunk/files/0001-Permissive-cast.patch
Added: csw/mgar/pkg/libofx/trunk/files/0001-Permissive-cast.patch
===================================================================
--- csw/mgar/pkg/libofx/trunk/files/0001-Permissive-cast.patch (rev 0)
+++ csw/mgar/pkg/libofx/trunk/files/0001-Permissive-cast.patch 2012-07-16 08:54:18 UTC (rev 18755)
@@ -0,0 +1,25 @@
+From 5855a21e84c384205fa65aadbc203f85b399aee4 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Mon, 16 Jul 2012 10:17:35 +0200
+Subject: [PATCH] Permissive cast
+
+---
+ lib/ofx_preproc.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ofx_preproc.cpp b/lib/ofx_preproc.cpp
+index ece191c..1a3dc89 100644
+--- a/lib/ofx_preproc.cpp
++++ b/lib/ofx_preproc.cpp
+@@ -238,7 +238,7 @@ int ofx_proc_file(LibofxContextPtr ctx, const char * p_filename)
+ #endif
+ char * outchar = iconv_buffer;
+ int iconv_retval = iconv (conversion_descriptor,
+- &inchar, &inbytesleft,
++ (const char**)&inchar, &inbytesleft,
+ &outchar, &outbytesleft);
+ if (iconv_retval == -1)
+ {
+--
+1.7.10.3
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list