From c5e9bc7851764de1a6c9d893b4e47dcd73cac43f Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Thu, 2 Feb 2017 11:31:01 -0800 Subject: [PATCH] common: print list items as pointers --- common/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/list.c b/common/list.c index 0a989a1d..b95b3444 100644 --- a/common/list.c +++ b/common/list.c @@ -221,6 +221,6 @@ list_dump_items(struct list *self) for (index = 0; index < self->count; index++) { - g_writeln("%d: 0x%lx", index, (long) list_get_item(self, index)); + g_writeln("%d: %p", index, (void *) list_get_item(self, index)); } }