GNOME Bugzilla – Bug 661546
Wrong declaration of GUINT_TO_POINTER in 32 bits
Last modified: 2011-11-17 13:38:02 UTC
Created attachment 198846 [details] [review] Fix cast If we don't do the cast to the proper size in 32 bits, things like below doesn't work: uint8_t u = 20; void *p; p = GUINT_TO_POINTER(u);
CC'ing people that changed similar lines.
Review of attachment 198846 [details] [review]: Looks right to me. Arguably people should have been doing GUINT_TO_POINTER((guint)u) but there's no reason to force them to.
Reopening. This commit breaks the build; it needs to be reverted.
I fixed the breakage on master.
With the "breakage", were you guys referring to bug 664236?