diff options
-rw-r--r-- | pr/include/prmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/include/prmem.h b/pr/include/prmem.h index dc88f755..e2b88f82 100644 --- a/pr/include/prmem.h +++ b/pr/include/prmem.h @@ -121,7 +121,7 @@ PR_EXTERN(void) PR_Free(void *ptr); ** OUTPUTS: the referenced object is returned to the heap ** RETURN: void ***********************************************************************/ -#define PR_DELETE(_ptr) { PR_Free(_ptr); (_ptr) = NULL; } +#define PR_DELETE(_ptr) { PR_Free((void*)_ptr); (_ptr) = NULL; } /*********************************************************************** ** FUNCTION: PR_FREEIF() |