From: Vadim Konovalov Date: Mon, 21 Jan 2002 09:48:40 +0000 (+0300) Subject: RE: BCC for Win32 is unhappy @14331 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd2710a18cfd609d3bec8cdea7f5ef2e4cbaae10;p=p5sagit%2Fp5-mst-13.2.git RE: BCC for Win32 is unhappy @14331 From: "Konovalov, Vadim" Message-ID: <80C37C8B4041FB4F9135D70A0AAD71B30F00E5@ru0028exch01.spb.lucent.com> (using IV instead of int) p4raw-id: //depot/perl@14368 --- diff --git a/hv.h b/hv.h index 2601259..d679e30 100644 --- a/hv.h +++ b/hv.h @@ -144,8 +144,8 @@ C. /* 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