summaryrefslogtreecommitdiff
path: root/ext/ByteLoader
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-04-26 00:41:39 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-04-26 00:41:39 +0000
commit7c436af33814ce716234caa65f470fe47c2a0efa (patch)
treee51dccce04c0b8b80a5b9b4734b273846081317e /ext/ByteLoader
parent530b72baaecf6b4faf758663fc0fded0f4426004 (diff)
downloadperl-7c436af33814ce716234caa65f470fe47c2a0efa.tar.gz
various signed/unsigned mismatch nits
p4raw-id: //depot/perl@16173
Diffstat (limited to 'ext/ByteLoader')
-rw-r--r--ext/ByteLoader/ByteLoader.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ByteLoader/ByteLoader.xs b/ext/ByteLoader/ByteLoader.xs
index d559bfe57f..4588b02ef0 100644
--- a/ext/ByteLoader/ByteLoader.xs
+++ b/ext/ByteLoader/ByteLoader.xs
@@ -11,7 +11,7 @@ int
bl_getc(struct byteloader_fdata *data)
{
dTHX;
- if (SvCUR(data->datasv) <= data->next_out) {
+ if (SvCUR(data->datasv) <= (STRLEN)data->next_out) {
int result;
/* Run out of buffered data, so attempt to read some more */
*(SvPV_nolen (data->datasv)) = '\0';