diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-07 23:42:42 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-05-07 23:42:42 +0000 |
commit | 6e21dc912fff1c74f60032b406b7b96bd0c3ee86 (patch) | |
tree | 42fe393a335e7d83f20b810c752ed094142982f7 /ext/Encode | |
parent | 22a65f1e060cc583560af22c8de3f5ccad3c0161 (diff) | |
download | perl-6e21dc912fff1c74f60032b406b7b96bd0c3ee86.tar.gz |
fixes for various warnings identified by Visual C++
p4raw-id: //depot/perl@16460
Diffstat (limited to 'ext/Encode')
-rw-r--r-- | ext/Encode/Encode.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/Encode.xs b/ext/Encode/Encode.xs index 4e95671d8d..0f3f1d4185 100644 --- a/ext/Encode/Encode.xs +++ b/ext/Encode/Encode.xs @@ -106,7 +106,7 @@ encode_method(pTHX_ encode_t * enc, encpage_t * dir, SV * src, more = (1.0*tlen*SvLEN(dst)+sdone-1)/sdone - SvLEN(dst); #elif ENCODE_XS_USEFP - more = (1.0*SvLEN(dst)+1)/sdone * sleft; + more = (STRLEN)((1.0*SvLEN(dst)+1)/sdone * sleft); #else /* safe until SvLEN(dst) == MAX_INT/16 */ more = (16*SvLEN(dst)+1)/sdone/16 * sleft; |