Skip to content

Commit

Permalink
Fix getting xaccAccountGetReconcilePostponeBalance
Browse files Browse the repository at this point in the history
Change the G_VALUE from a INT64 to BOXED.
  • Loading branch information
Bob-IT committed Jan 12, 2023
1 parent ce3d47f commit fd37ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgnucash/engine/Account.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4878,7 +4878,7 @@ xaccAccountGetReconcilePostponeBalance (const Account *acc,
g_return_val_if_fail(GNC_IS_ACCOUNT(acc), FALSE);
qof_instance_get_path_kvp (QOF_INSTANCE(acc), &v,
{KEY_RECONCILE_INFO, KEY_POSTPONE, "balance"});
if (G_VALUE_HOLDS_INT64 (&v))
if (G_VALUE_HOLDS_BOXED (&v))
{
bal = *(gnc_numeric*)g_value_get_boxed (&v);
if (bal.denom)
Expand Down

0 comments on commit fd37ee9

Please sign in to comment.