Fix compiler warnings introduced by the guile 2 patches

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22680 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2012-12-21 09:19:41 +00:00
parent ba9b85a260
commit 5ff9e099e9

View File

@ -17,6 +17,7 @@ typedef void * gpointer;
typedef char gchar;
%typemap (out) char * {
$result = SCM_UNSPECIFIED;
if ($1) {
$result = scm_from_locale_string((const char *)$1);
}