Use type conversion macro instead of cast.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4018 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-04-23 07:34:50 +00:00
parent ea9ad455db
commit 8a639f4673

View File

@ -443,7 +443,7 @@ startRecnWindow(GtkWidget *parent, Account *account,
* until the user is done with the dialog box.
*/
cb_data.account = account;
cb_data.gae = (GNCAmountEdit *)end_value;
cb_data.gae = GNC_AMOUNT_EDIT (end_value);
/* need to get a callback on date changes to update the recn balance */
gtk_signal_connect ( GTK_OBJECT (date_value), "date_changed",