summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-25 00:20:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-25 00:20:07 +0000
commit942e002ed0b680ac66fb5ed33d36b864f6c264af (patch)
tree5be989d6a9f7a6ca27b7260d9dc52ec04ef441d7 /util.c
parent348844dc614dfb89540273fcb837c4d84be1019f (diff)
downloadperl-942e002ed0b680ac66fb5ed33d36b864f6c264af.tar.gz
tweaks to enable PERL_OBJECT to build & test on win32
p4raw-id: //depot/perl@1879
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 5be4969e75..fd99576b7d 100644
--- a/util.c
+++ b/util.c
@@ -897,14 +897,14 @@ mem_collxfrm(const char *s, STRLEN len, STRLEN *xlen)
void
fbm_compile(SV *sv, U32 flags /* not used yet */)
{
- register unsigned char *s;
- register unsigned char *table;
+ register U8 *s;
+ register U8 *table;
register U32 i;
STRLEN len;
I32 rarest = 0;
U32 frequency = 256;
- s = SvPV_force(sv, len);
+ s = (U8*)SvPV_force(sv, len);
sv_upgrade(sv, SVt_PVBM);
if (len > 255 || len == 0) /* TAIL might be on on a zero-length string. */
return; /* can't have offsets that big */