projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7525822
)
Signedness nit.
Jarkko Hietaniemi [Tue, 2 Jan 2001 04:26:28 +0000 (
04:26
+0000)]
p4raw-id: //depot/perl@8297
ext/Encode/Encode.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/Encode.xs
b/ext/Encode/Encode.xs
index
7ea22d4
..
a7acd88
100644
(file)
--- a/
ext/Encode/Encode.xs
+++ b/
ext/Encode/Encode.xs
@@
-424,7
+424,7
@@
CODE:
{
STRLEN len;
char *s = SvPV(sv,len);
- if (!SvUTF8(sv) || is_utf8_string(s,len))
+ if (!SvUTF8(sv) || is_utf8_string((U8*)s,len))
XSRETURN_YES;
else
XSRETURN_NO;