mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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
This commit is contained in:
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…
Reference in New Issue
Block a user