summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/list.c b/list.c
index c39eb96..1f7c0e5 100644
--- a/list.c
+++ b/list.c
@@ -102,7 +102,7 @@ void listitems(struct item *mainlist)
for (item = mainlist, i = 1; item != NULL; item = item->next, i ++)
{
- printf("item #%d (stored at %p).\n", i, item);
+ printf("item #%d (stored at %p).\n", i, (void *)item);
}
}