projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
84b7bf1
)
- fix compiler warning
author
Michael Wallner
<mike@php.net>
Sun, 28 Jan 2007 10:45:14 +0000
(10:45 +0000)
committer
Michael Wallner
<mike@php.net>
Sun, 28 Jan 2007 10:45:14 +0000
(10:45 +0000)
http_headers_api.c
patch
|
blob
|
history
diff --git
a/http_headers_api.c
b/http_headers_api.c
index 95fbdec82c17fa5efa6fd7e0ca7a95aec85c00f5..85ebe38ebaa1bf6f003e34ab01b2d1df0f6e0afb 100644
(file)
--- a/
http_headers_api.c
+++ b/
http_headers_api.c
@@
-192,7
+192,7
@@
PHP_HTTP_API http_range_status _http_get_request_ranges(HashTable *ranges, size_
long begin = -1, end = -1, *ptr;
if ( !(zrange = http_get_server_var("HTTP_RANGE", 1)) ||
- Z_STRLEN_P(zrange) < lenof("bytes=") || strncmp(Z_STRVAL_P(zrange), "bytes=", lenof("bytes="))) {
+
(size_t)
Z_STRLEN_P(zrange) < lenof("bytes=") || strncmp(Z_STRVAL_P(zrange), "bytes=", lenof("bytes="))) {
return RANGE_NO;
}
range = Z_STRVAL_P(zrange) + lenof("bytes=");