We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3012d0 commit 1b4f7c3Copy full SHA for 1b4f7c3
ext/standard/pack.c
@@ -736,7 +736,7 @@ PHP_FUNCTION(unpack)
736
case 'A': {
737
/* A will strip any trailing whitespace */
738
char padn = '\0'; char pads = ' '; char padt = '\t'; char padc = '\r'; char padl = '\n';
739
- size_t len = inputlen - inputpos; /* Remaining string */
+ zend_long len = inputlen - inputpos; /* Remaining string */
740
741
/* If size was given take minimum of len and size */
742
if ((size >= 0) && (len > size)) {
0 commit comments