diff options
Diffstat (limited to 'ext/standard/pack.c')
| -rw-r--r-- | ext/standard/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c index f088890a59..85b2acda74 100644 --- a/ext/standard/pack.c +++ b/ext/standard/pack.c @@ -55,7 +55,7 @@ #endif #define INC_OUTPUTPOS(a,b) \ - if ((a) < 0 || ((INT_MAX - outputpos)/(b)) < (a)) { \ + if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Type %c: integer overflow in format string", code); \ RETURN_FALSE; \ } \ |
