summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc <devnull@localhost>1998-06-03 21:23:24 +0000
committerwtc <devnull@localhost>1998-06-03 21:23:24 +0000
commitcc0de74e239089eb668e260f0d25383bbadca8d7 (patch)
treed16c87f96ceeec0b5ce72212d564f2d365b96d24
parentb86f8c50b7005dd952fc9974d0cf3e656be69a04 (diff)
downloadnspr-hg-cc0de74e239089eb668e260f0d25383bbadca8d7.tar.gz
Backed out revision 3.2. In C and C++, a pointer to any datatypeRDF_BASE_060398
can be implicitly cast to void *. So the explicit (void *) cast in the argument for PR_Free() should not be necessary.
-rw-r--r--pr/include/prmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/include/prmem.h b/pr/include/prmem.h
index e2b88f82..dc88f755 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((void*)_ptr); (_ptr) = NULL; }
+#define PR_DELETE(_ptr) { PR_Free(_ptr); (_ptr) = NULL; }
/***********************************************************************
** FUNCTION: PR_FREEIF()