diff src/unwind-prot.h @ 3145:0d640dc625c7

[project @ 1998-02-05 08:44:59 by jwe]
author jwe
date Thu, 05 Feb 1998 08:45:07 +0000
parents aa9d0c0e0458
children b80bbb43a1a9
line wrap: on
line diff
--- a/src/unwind-prot.h
+++ b/src/unwind-prot.h
@@ -126,8 +126,7 @@
   unwind_protect::save_str (&(s), (s))
 
 #define unwind_protect_ptr(p) \
-  unwind_protect::save_ptr (static_cast<void **> (&(p)), \
-			    static_cast<void *> (p))
+  unwind_protect::save_ptr (X_CAST (void **, &(p)), X_CAST (void *, (p)))
 
 #endif