>From 10a9bf298be4695242bcdb63bcfad720e03bf040 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen <suok...@gmail.com> Date: Mon, 20 Jul 2009 16:31:54 +0300 Subject: [PATCH 08/15] libdrm: Make gcc to understand that pointers are realy pointers.
--- libdrm/xf86drmSL.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libdrm/xf86drmSL.c b/libdrm/xf86drmSL.c index 58aefac..22e3b92 100644 --- a/libdrm/xf86drmSL.c +++ b/libdrm/xf86drmSL.c @@ -335,16 +335,16 @@ void drmSLDump(void *l) list->magic, SL_ENTRY_MAGIC); } printf("\nEntry %p <0x%08lx, %p> has %2d levels\n", - entry, entry->key, entry->value, entry->levels); + (void*)entry, entry->key, entry->value, entry->levels); for (i = 0; i < entry->levels; i++) { if (entry->forward[i]) { printf(" %2d: %p <0x%08lx, %p>\n", i, - entry->forward[i], + (void*)entry->forward[i], entry->forward[i]->key, entry->forward[i]->value); } else { - printf(" %2d: %p\n", i, entry->forward[i]); + printf(" %2d: %p\n", i, (void*)entry->forward[i]); } } } -- 1.6.3.3 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel