]> granicus.if.org Git - php/commitdiff
- Fix ZTS Build
authorMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 19:13:13 +0000 (19:13 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 3 Oct 2005 19:13:13 +0000 (19:13 +0000)
Zend/zend_API.c

index c7e1a3f6ee6e4303de10c8b2d2cd40aed52d591c..3cf8481dbd68ebc5bda851d30c4c9f192bf0397c 100644 (file)
@@ -3413,7 +3413,11 @@ ZEND_API zend_uchar zend_get_unified_string_type(int num_args TSRMLS_DC, ...)
 
        if (num_args <= 0) return (zend_uchar)-1;
 
+#ifdef ZTS
+       va_start(ap, TSRMLS_C);
+#else
        va_start(ap, num_args);
+#endif
        while (num_args--) {
                type = va_arg(ap, int);
                if (type == IS_BINARY) {