AMD64 compilation problem: cast from pointer to integer of different size
Phil Longstaff
plongstaff at rogers.com
Sat Aug 22 15:10:02 EDT 2009
On August 22, 2009 03:00:23 pm Sebastian Held wrote:
> To compile on AMD64 I need the following patch.
> Don't know, if that gets the correct bits...
>
> Sebastian
>
> patch:
>
> Index: /home/sebastian/src/gnucash.trunk/src/backend/sql/gnc-budget-sql.c
> ===================================================================
> --- /home/sebastian/src/gnucash.trunk/src/backend/sql/gnc-budget-sql.c
> (Revision 18268)
> +++ /home/sebastian/src/gnucash.trunk/src/backend/sql/gnc-budget-sql.c
> (Arbeitskopie)
> @@ -153,7 +153,7 @@
>
> g_return_if_fail( pObj != NULL );
>
> - info->period_num = (guint)val;
> + info->period_num = (guint)(gulong)val;
> }
>
> static gnc_numeric
Thanks. Fixed.
More information about the gnucash-devel
mailing list