Fix G*_TO_POINTER casts on 32 bits
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 6 Oct 2011 14:18:03 +0000 (11:18 -0300)
committerColin Walters <walters@verbum.org>
Wed, 16 Nov 2011 15:47:21 +0000 (10:47 -0500)
commit16292dd753cb63f8ccb2267644aefbd2632dd52c
treed5c0c46e27fc1486c834b11c0c4513e407ad0915
parent3a7960f75730fdde77652b97ad6492004c5b1ec1
Fix G*_TO_POINTER casts on 32 bits

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);

Signed-off-by: Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=661546
configure.ac