]> granicus.if.org Git - php/commitdiff
use correct type for p_len
authorAntony Dovgal <tony2001@php.net>
Tue, 3 Oct 2006 23:09:08 +0000 (23:09 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 3 Oct 2006 23:09:08 +0000 (23:09 +0000)
ext/standard/file.c

index 036324fc4b18a3d5dceee087219a1300782ceab0..76b6e3e2c93d5e737a65cf935ae108398380f9a1 100644 (file)
@@ -900,12 +900,11 @@ PHP_FUNCTION(tempnam)
 {
        zval **ppdir, **ppprefix;
        char *dir, *prefix;
-       int dir_len, prefix_len;
+       int dir_len, prefix_len, p_len;
 
        char *opened_path;
        char *p;
        int fd;
-       size_t p_len;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ZZ", &ppdir, &ppprefix) == FAILURE) {
                return;