]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Wed, 2 Aug 2006 22:03:47 +0000 (22:03 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 2 Aug 2006 22:03:47 +0000 (22:03 +0000)
ext/wddx/wddx.c

index dcbf6a6bf3ff10fc267b59b35bbfca3c0e508391..887c5934611913584ad66b2c0b18f231971c56cb 100644 (file)
@@ -366,7 +366,7 @@ void php_wddx_packet_end(wddx_packet *packet)
 
 /* {{{ php_wddx_serialize_string
  */
-static void php_wddx_serialize_string(wddx_packet *packet, zval *var)
+static void php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC)
 {
        php_wddx_add_chunk_static(packet, WDDX_STRING_S);
 
@@ -607,7 +607,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name
        
        switch(Z_TYPE_P(var)) {
                case IS_STRING:
-                       php_wddx_serialize_string(packet, var);
+                       php_wddx_serialize_string(packet, var TSRMLS_CC);
                        break;
                        
                case IS_LONG: