ensure comparisions of pointers are for the same type.

This commit is contained in:
Mark Andrews 1999-10-29 13:21:08 +00:00
parent f2db7ea9b8
commit d13792dd52

View file

@ -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)
{