Commit d13792dd authored by Mark Andrews's avatar Mark Andrews
Browse files

ensure comparisions of pointers are for the same type.

parent f2db7ea9
......@@ -263,7 +263,7 @@ void *CRYPTO_dbg_realloc(void *addr, int num, const char *file, int line)
line = line;
ret=realloc_func(addr,num);
if (ret == addr) return(ret);
if (ret == (char *)addr) return(ret);
if (mh_mode & CRYPTO_MEM_CHECK_ENABLE)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment