Fix issue with C++ (missing brackets)
This commit is contained in:
1 parent
736e0550ca
commit
898d117ceb
1 file changed
+1
-1
@@ -945,7 +945,7 @@ m_core_hash (const void *str, size_t wrdlen)
|
||||
# define M_MEMORY_ALLOC(type) ((type*)std::malloc (sizeof (type)))
|
||||
# define M_MEMORY_DEL(ptr) std::free(ptr)
|
||||
# define M_MEMORY_REALLOC(type, ptr, n) \
|
||||
((type*) M_UNLIKELY ((n) > SIZE_MAX / sizeof(type)) ? NULL : std::realloc ((ptr), (n)*sizeof (type)))
|
||||
((type*) (M_UNLIKELY ((n) > SIZE_MAX / sizeof(type)) ? NULL : std::realloc ((ptr), (n)*sizeof (type))))
|
||||
# define M_MEMORY_FREE(ptr) std::free(ptr)
|
||||
#else
|
||||
# include <stdlib.h>
|
||||
|
||||
Reference in new issue
Block a user