summaryrefslogtreecommitdiff
path: root/ext/PerlIO-scalar
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-06-24 21:58:51 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-06-26 23:09:45 -0400
commitd1992db059626dbd1b9a7e2cf67ef89e6428a9c0 (patch)
treed9af793182e6f701e61eb15e256d358ca56d20a5 /ext/PerlIO-scalar
parent188f97e0784c33fc827ad1bb43a02b2707e88fc0 (diff)
downloadperl-d1992db059626dbd1b9a7e2cf67ef89e6428a9c0.tar.gz
There is no SSize_t_size.
Coverity CID 104775. Seemed to be the only one.
Diffstat (limited to 'ext/PerlIO-scalar')
-rw-r--r--ext/PerlIO-scalar/scalar.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/PerlIO-scalar/scalar.xs b/ext/PerlIO-scalar/scalar.xs
index eec2de9e7f..49bbff185c 100644
--- a/ext/PerlIO-scalar/scalar.xs
+++ b/ext/PerlIO-scalar/scalar.xs
@@ -215,7 +215,7 @@ PerlIOScalar_write(pTHX_ PerlIO * f, const void *vbuf, Size_t count)
/* ensure we don't try to create ridiculously large
* SVs on small platforms
*/
-#if SSize_t_size < Off_t_size
+#if Size_t_size < Off_t_size
if (s->posn > SSize_t_MAX) {
#ifdef EFBIG
SETERRNO(EFBIG, SS_BUFFEROVF);