From c16bd951cdff8d9dd4ba44e4634cb284c6f09342 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 30 Mar 2014 15:02:24 +1100 Subject: Enable GCC pedantic warnings with strict flags, also modify MIN/MAX macros to prevent shadowing. --- intern/guardedalloc/intern/mallocn_guarded_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern') diff --git a/intern/guardedalloc/intern/mallocn_guarded_impl.c b/intern/guardedalloc/intern/mallocn_guarded_impl.c index 7a8545de524..724e7f95845 100644 --- a/intern/guardedalloc/intern/mallocn_guarded_impl.c +++ b/intern/guardedalloc/intern/mallocn_guarded_impl.c @@ -735,7 +735,7 @@ static void MEM_guarded_printmemlist_internal(int pydict) membl->_count); #else print_error("%s len: " SIZET_FORMAT " %p\n", - membl->name, SIZET_ARG(membl->len), membl + 1); + membl->name, SIZET_ARG(membl->len), (void *)(membl + 1)); #endif #ifdef DEBUG_BACKTRACE print_memhead_backtrace(membl); -- cgit v1.2.3