Skip to content

Commit 2ebe379

Browse files
committed
Fixed #55457 for 5.4 branch
Use ssize_t instead of long (as pierre suggestion)
1 parent e385f3c commit 2ebe379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/cli/php_http_parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct php_http_parser {
112112
unsigned char index;
113113

114114
uint32_t nread;
115-
long content_length;
115+
ssize_t content_length;
116116

117117
/** READ-ONLY **/
118118
unsigned short http_major;

0 commit comments

Comments
 (0)