Changes from OJI_19980224_BRANCH. OJI_19980423_BRANCH
authorwarren
Tue, 28 Apr 1998 04:08:49 +0000
branchOJI_19980423_BRANCH
changeset 68 14f9643b2cb6c416f8d4e9912feba04ddaf033aa
parent 60 8f025a4599f649a9529f88df5d55d70fa3dab4e4
push idunknown
push userunknown
push dateunknown
Changes from OJI_19980224_BRANCH.
pr/include/prmem.h
--- a/pr/include/prmem.h
+++ b/pr/include/prmem.h
@@ -116,17 +116,17 @@ PR_EXTERN(void) PR_Free(void *ptr);
 ** FUNCTION:	PR_DELETE()
 ** DESCRIPTION:
 **   PR_DELETE() unallocates an object previosly allocated via PR_NEW()
 **   or PR_NEWZAP() to the heap.
 ** INPUTS:	pointer to previously allocated object
 ** 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()
 ** DESCRIPTION:
 **   PR_FREEIF() conditionally unallocates an object previously allocated
 **   vial PR_NEW() or PR_NEWZAP(). If the pointer to the object is
 **   equal to zero (0), the object is not released.
 ** INPUTS:	pointer to previously allocated object