From: Michael Wallner Date: Sun, 28 Jan 2007 10:45:14 +0000 (+0000) Subject: - fix compiler warning X-Git-Tag: RELEASE_1_4_1~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d3dd7565264f3ad535a92dfaa0adc5891eca151a;p=m6w6%2Fext-http - fix compiler warning --- diff --git a/http_headers_api.c b/http_headers_api.c index 95fbdec..85ebe38 100644 --- 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=");