Make (justified) warning silent with clang.

(Already explained in the note)
This commit is contained in:
Patrick Pelissier committed 2017-04-07 17:32:50 +02:00
1 parent 898d117ceb
commit 5418856d5e
1 file changed
+1 -1
+1 -1
View File
@@ -126,7 +126,7 @@
{ \
/* NOTE: Unsafe cast: suppose that the given pointer \
was allocated by the previous alloc function. */ \
M_C3(mempool_,name,_union_t) *ret = (M_C3(mempool_,name,_union_t) *)ptr; \
M_C3(mempool_,name,_union_t) *ret = (M_C3(mempool_,name,_union_t) *)(uintptr_t)ptr; \
ret->next = mem->free_list; \
mem->free_list = ret; \
mem->count--; \