AUDIT: r16771 - gnucash/trunk/src/engine - Make gnucash compile on an optimizing gcc-4.2.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Dec 30 13:42:20 EST 2007
Author: andi5
Date: 2007-12-30 13:42:20 -0500 (Sun, 30 Dec 2007)
New Revision: 16771
Trac: http://svn.gnucash.org/trac/changeset/16771
Modified:
gnucash/trunk/src/engine/engine-helpers.c
Log:
Make gnucash compile on an optimizing gcc-4.2.
Patch from Jerry Quinn
BP
Modified: gnucash/trunk/src/engine/engine-helpers.c
===================================================================
--- gnucash/trunk/src/engine/engine-helpers.c 2007-12-30 18:34:08 UTC (rev 16770)
+++ gnucash/trunk/src/engine/engine-helpers.c 2007-12-30 18:42:20 UTC (rev 16771)
@@ -2146,9 +2146,10 @@
static SCM
-gnc_generic_to_scm(const void *x, const gchar *type_str)
+gnc_generic_to_scm(const void *cx, const gchar *type_str)
{
swig_type_info * stype = NULL;
+ void *x = (void*) cx;
if (!x) return SCM_BOOL_F;
stype = SWIG_TypeQuery(type_str);
More information about the gnucash-changes
mailing list