missing int->size_t
authorMichael Wallner <mike@php.net>
Tue, 20 Jan 2015 14:16:56 +0000 (15:16 +0100)
committerMichael Wallner <mike@php.net>
Tue, 20 Jan 2015 14:16:56 +0000 (15:16 +0100)
php_http_message.c

index 3fddf79701dc6a152d3647f84ac32d28fb957af3..bf8eb508528c16b7439ccb8d7ca07760004e61d0 100644 (file)
@@ -1434,7 +1434,7 @@ ZEND_END_ARG_INFO();
 static PHP_METHOD(HttpMessage, setResponseStatus)
 {
        char *status;
-       int status_len;
+       size_t status_len;
        php_http_message_object_t *obj;
 
        php_http_expect(SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &status, &status_len), invalid_arg, return);