summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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);