From: Craig A. Berry Date: Thu, 15 Jun 2006 03:16:34 +0000 (+0000) Subject: signedness nit in Unicode::Normalize::decompose X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9b3749067821edd17024e783195e26d95f58fe9c;p=p5sagit%2Fp5-mst-13.2.git signedness nit in Unicode::Normalize::decompose p4raw-id: //depot/perl@28395 --- diff --git a/ext/Unicode/Normalize/Normalize.xs b/ext/Unicode/Normalize/Normalize.xs index e48ead9..3dea0f4 100644 --- a/ext/Unicode/Normalize/Normalize.xs +++ b/ext/Unicode/Normalize/Normalize.xs @@ -465,7 +465,7 @@ decompose(src, compat = &PL_sv_no) dlen = slen; New(0, d, dlen+1, U8); dend = pv_utf8_decompose(s, slen, &d, dlen, SvTRUE(compat)); - sv_setpvn(dst, d, dend - d); + sv_setpvn(dst, (char *)d, dend - d); SvUTF8_on(dst); Safefree(d); RETVAL = dst;