- fix write_prop() too
authorMichael Wallner <mike@php.net>
Fri, 30 Sep 2005 11:08:05 +0000 (11:08 +0000)
committerMichael Wallner <mike@php.net>
Fri, 30 Sep 2005 11:08:05 +0000 (11:08 +0000)
http_message_object.c

index 95aae5f5a589c61c90b6fe22b8ad0fe2c442b87d..2d3a231ad7471af577cd96bf4bf2aa3db96aa29c 100644 (file)
@@ -333,7 +333,7 @@ static void _http_message_object_write_prop(zval *object, zval *member, zval *va
        getObjectEx(http_message_object, obj, object);
        http_message *msg = obj->message;
 #ifdef WONKY
-       zend_hash_value h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
+       ulong h = zend_get_hash_value(Z_STRVAL_P(member), Z_STRLEN_P(member) + 1);
 #else
        zend_property_info *pinfo = zend_get_property_info(obj->zo.ce, member, 1 TSRMLS_CC);