Signedness nit.
Jarkko Hietaniemi [Mon, 22 Apr 2002 12:59:17 +0000 (12:59 +0000)]
p4raw-id: //depot/perl@16073

ext/PerlIO/encoding/encoding.xs

index 0d1d59e..a9b7435 100644 (file)
@@ -288,7 +288,7 @@ PerlIOEncode_fill(pTHX_ PerlIO * f)
            }
            else if (avail > 0) {
                /* No line, but not EOF - append avail to the pending data */
-               sv_catpvn(e->dataSV, ptr, use);
+               sv_catpvn(e->dataSV, (char*)ptr, use);
                PerlIO_set_ptrcnt(n, ptr+use, 0);
                goto retry;
            }