Bug 790845 - 2.7.3: massive test failures on some architectures (reopened).

Fix some test failures caused by erroneous size assumptions.
This commit is contained in:
John Ralls
2018-01-14 16:21:34 -08:00
parent 2257faa05a
commit 8900b19da3
3 changed files with 11 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ GncSqlColumnTableEntryImpl<CT_BOOLEAN>::load (const GncSqlBackend* sql_be,
g_return_if_fail (m_gobj_param_name != NULL || get_setter(obj_name) != NULL);
auto val = row.get_int_at_col (m_col_name);
set_parameter(pObject, val,
set_parameter(pObject, static_cast<int>(val),
reinterpret_cast<BooleanSetterFunc>(get_setter(obj_name)),
m_gobj_param_name);
}