Remove the sometimes-lvalue cast
Nick Ing-Simmons [Wed, 19 Dec 2001 12:03:21 +0000 (12:03 +0000)]
p4raw-id: //depot/perlio@13797

hv.h

diff --git a/hv.h b/hv.h
index f99bc7d..3a3d867 100644 (file)
--- a/hv.h
+++ b/hv.h
@@ -136,7 +136,7 @@ C<SV*>.
 #define XHvTOTALKEYS(xhv)      ((xhv)->xhv_keys)
 
 /* The number of placeholders in the enumerated-keys hash */
-#define XHvPLACEHOLDERS(xhv)   ((IV)((xhv)->xhv_placeholders))
+#define XHvPLACEHOLDERS(xhv)   ((xhv)->xhv_placeholders)
 
 /* the number of keys that exist() (i.e. excluding placeholers) */
 #define XHvUSEDKEYS(xhv)      (XHvTOTALKEYS(xhv) - XHvPLACEHOLDERS(xhv))