diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-20 12:43:48 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-20 12:43:48 +0200 |
commit | d54e1ca11f5ac29e1f83eab90ab0a6eac9b90182 (patch) | |
tree | 59be7710074a792bfac6b9b1cbb5426ef2029a80 | |
parent | fbec1d7d9fc6315fd6bbd8320785babf0894a8c3 (diff) | |
download | mcwm-d54e1ca11f5ac29e1f83eab90ab0a6eac9b90182.zip |
Cast to void * when using %p.
-rw-r--r-- | list.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |