From: Antony Dovgal Date: Tue, 3 Oct 2006 23:09:08 +0000 (+0000) Subject: use correct type for p_len X-Git-Tag: RELEASE_1_0_0RC1~1439 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bdcfa172aea1aec721c43f2dee4d2b8051c7070;p=php use correct type for p_len --- diff --git a/ext/standard/file.c b/ext/standard/file.c index 036324fc4b..76b6e3e2c9 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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;