summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorVadim Konovalov <vkonovalov@lucent.com>2002-01-21 12:48:40 +0300
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-21 14:56:42 +0000
commitdd2710a18cfd609d3bec8cdea7f5ef2e4cbaae10 (patch)
tree3431ae6fe20cd2c35a96d1b8a2d1dd2ba30ad185 /hv.h
parentcf42f822f042b255cd800a089b942e14770a2b0b (diff)
downloadperl-dd2710a18cfd609d3bec8cdea7f5ef2e4cbaae10.tar.gz
RE: BCC for Win32 is unhappy @14331
From: "Konovalov, Vadim" <vkonovalov@spb.Lucent.com> Message-ID: <80C37C8B4041FB4F9135D70A0AAD71B30F00E5@ru0028exch01.spb.lucent.com> (using IV instead of int) p4raw-id: //depot/perl@14368
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv.h b/hv.h
index 260125949a..d679e30a8b 100644
--- a/hv.h
+++ b/hv.h
@@ -144,8 +144,8 @@ C<SV*>.
/* The number of placeholders in the enumerated-keys hash */
#define XHvPLACEHOLDERS(xhv) ((xhv)->xhv_placeholders)
-/* the number of keys that exist() (i.e. excluding placeholers) */
-#define XHvUSEDKEYS(xhv) (XHvTOTALKEYS(xhv) - XHvPLACEHOLDERS(xhv))
+/* the number of keys that exist() (i.e. excluding placeholders) */
+#define XHvUSEDKEYS(xhv) (XHvTOTALKEYS(xhv) - (IV)XHvPLACEHOLDERS(xhv))
/*
* HvKEYS gets the number of keys that actually exist(), and is provided