UltraRogue: fix various build failures.

This commit is contained in:
John "Elwin" Edwards 2017-01-31 20:33:49 -05:00
parent 11c74c273d
commit b100b40846
5 changed files with 23 additions and 20 deletions

View file

@ -339,7 +339,7 @@ void *mem_realloc(const void *ptr, const size_t new_size)
/* check a pointer to be sure all check bytes are OK. abort if not */
/* always returns 1 if not aborting so that it can be included in */
/* if statement boolean expressions */
int mem_validate(void *ptr)
int mem_validate(const void *ptr)
{
unsigned char *mem_temp = (unsigned char *)ptr;
size_t mem_size;