perl-unicode

Re: [Encode] Typecast added to line 584 of Encode.xs

2002-03-24 10:04:01
On Mon, Mar 25, 2002 at 02:02:57AM +0900, Dan Kogai wrote:
On Monday, March 25, 2002, at 01:55 , Jarkko Hietaniemi wrote:
Ahhh, okay.  I thought 0.98 brought some additional changes for compile.

But here's a real nit :-)

cc: Warning: Encode.xs, line 584: In this statement, the referenced 
type of the pointer value "s+slen" is "unsigned char", which is not 
compatible with "const char". (ptrmismatch)
                sv_setpvn(src,s+slen,sdone);
----------------^

A (char*) for the s is needed.

   Thus casted.  Is that AIX or something?  My FreeBSD box didn't 

Tru64.

complain....

Dan

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

<Prev in Thread] Current Thread [Next in Thread>