]> granicus.if.org Git - php/commitdiff
Default to ZEND_STR_TYPE.
authorAndrei Zmievski <andrei@php.net>
Sat, 7 Oct 2006 00:41:14 +0000 (00:41 +0000)
committerAndrei Zmievski <andrei@php.net>
Sat, 7 Oct 2006 00:41:14 +0000 (00:41 +0000)
ext/standard/uniqid.c

index 1ea06c5634b9cbea18668d4e359feb6c04939104..e5b5a62375783936e9abf9cb094a82f669f40144 100644 (file)
@@ -45,7 +45,7 @@ PHP_FUNCTION(uniqid)
 {
        zstr prefix = EMPTY_ZSTR;
        int prefix_len = 0;
-       zend_uchar str_type;
+       zend_uchar str_type = ZEND_STR_TYPE;
 #if defined(__CYGWIN__)
        zend_bool more_entropy = 1;
 #else