* src/app-utils/gnc-ui-util.c

(gnc_ui_account_get_tax_info_string): coerce to supress warning
for guile 1.3.4.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5515 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-10-10 23:22:06 +00:00
parent 8044bfeeb7
commit df85b7a6d1

View File

@ -487,7 +487,8 @@ gnc_ui_account_get_tax_info_string (Account *account)
"txf-income-categories" :
"txf-expense-categories");
code_scm = gh_symbol2scm (code);
/* FIXME: when we drop support older guiles, drop the (char *) coercion. */
code_scm = gh_symbol2scm ((char *) code);
scm = gh_call2 (get_form, category, code_scm);
if (!gh_string_p (scm))