Skip to content

Commit

Permalink
There is no SSize_t_size.
Browse files Browse the repository at this point in the history
Coverity CID 104775.

Seemed to be the only one.
  • Loading branch information
jhi committed Jun 27, 2015
1 parent 188f97e commit d1992db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/PerlIO-scalar/scalar.xs
Expand Up @@ -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);
Expand Down

0 comments on commit d1992db

Please sign in to comment.