diff --git a/ChangeLog b/ChangeLog index 86fa49ac0e..c5dedfecf7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-12-19 David Hampton + + * src/register/register-core/register-common.h: Large accounts are + overflowing the data types used in the register code and are + causing crashes. #92072, #98802 + 2002-12-16 Christian Stimming * src/import-export/hbci/glade/hbci.glade: Set max size of diff --git a/src/register/register-core/register-common.h b/src/register/register-core/register-common.h index 69e7773696..713a9aba2d 100644 --- a/src/register/register-core/register-common.h +++ b/src/register/register-core/register-common.h @@ -51,8 +51,8 @@ BasicCell * gnc_register_make_cell (const char *cell_type_name); */ typedef struct _VirtualCellLocation VirtualCellLocation; struct _VirtualCellLocation { - short virt_row; - short virt_col; + int virt_row; + int virt_col; }; @@ -74,8 +74,8 @@ gboolean virt_cell_loc_equal (VirtualCellLocation vcl1, typedef struct _VirtualLocation VirtualLocation; struct _VirtualLocation { VirtualCellLocation vcell_loc; - short phys_row_offset; - short phys_col_offset; + int phys_row_offset; + int phys_col_offset; };