tests: Use GPOINTER_TO_SIZE() instead of just casting to guint
authorBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2010 18:23:28 +0000 (20:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2010 19:56:20 +0000 (21:56 +0200)
commitdd1d1b3510536d4156eb79bb7161023c464e721f
tree05adb017cc02351a94ddd99dc42eaca9a6ec7e50
parent284ea16b9d94b28b632063333140b99e419d6b0a
tests: Use GPOINTER_TO_SIZE() instead of just casting to guint

a) gcc doesn't like this ("Cast to pointer of different size)
b) It compares only half of the pointer
gio/tests/memory-output-stream.c