summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2010-07-20 12:43:48 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2010-07-20 12:43:48 +0200
commitd54e1ca11f5ac29e1f83eab90ab0a6eac9b90182 (patch)
tree59be7710074a792bfac6b9b1cbb5426ef2029a80
parentfbec1d7d9fc6315fd6bbd8320785babf0894a8c3 (diff)
downloadmcwm-d54e1ca11f5ac29e1f83eab90ab0a6eac9b90182.zip
Cast to void * when using %p.
-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);
}
}