Make gnucash compile on an optimizing gcc-4.2.

Patch from Jerry Quinn
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16771 57a11ea4-9604-0410-9ed3-97b8803252fd
2.4
Andreas Köhler 19 years ago
parent e576797c0f
commit e32d09e5ac

@ -2146,9 +2146,10 @@ gnc_numeric_p(SCM arg)
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);

Loading…
Cancel
Save