com php-src: fix signed/unsigned mismatch: main/SAPI.c
| From: | Anatol Belski | Date: | Mon, 15 Sep 2014 17:46:31 +0000 |
| Subject: | com php-src: fix signed/unsigned mismatch: main/SAPI.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81663@lists.php.net to get a copy of this message | ||
Commit: dc37e089e3bcbe4548bf9093251b0f0ee4823844
Author: Anatol Belski <ab@php.net> Mon, 15 Sep 2014 17:51:07 +0200
Parents: e0ff5238c5d744509f93aaf914e23f17d51c5ae3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dc37e089e3bcbe4548bf9093251b0f0ee4823844
Log:
fix signed/unsigned mismatch
Changed paths:
M main/SAPI.c
Diff:
diff --git a/main/SAPI.c b/main/SAPI.c
index 750b95c..4771ea7 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -739,7 +739,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC)
return SUCCESS;
} else {
/* new line/NUL character safety check */
- int i;
+ uint i;
for (i = 0; i < header_line_len; i++) {
/* RFC 2616 allows new lines if followed by SP or HT */
int illegal_break =