[Mono-devel-list] Compiler Warnings AMD64 - final

Martin Baulig martin at ximian.com
Thu Dec 9 10:51:45 EST 2004

On Thu, 2004-12-09 at 13:04 +0100, Willibald Krenn wrote:
> > Hi,
> > 
> > I changed the debugger stuff to use guint64's instead of pointers.
> > Could you please have a look at the new code and check whether I did it
> > correctly ?
> Just did the checkout and looked at your changes..
> GPOINTER_TO_UINT does a ((guint) (gulong) (p)) cast, so
> 		     GPOINTER_TO_UINT (exc), GPOINTER_TO_UINT (addr));
> is wrong for 64 bit archs. You just need a cast to plain guint64 in each 
> case:


well, I thought gssize was always the size of a pointer - so I went
through gssize to prevent the compiler warning.

I'd really appreciate it if you could have a look at this ...


More information about the Mono-devel-list mailing list