From 1bdcfa172aea1aec721c43f2dee4d2b8051c7070 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 3 Oct 2006 23:09:08 +0000 Subject: [PATCH] use correct type for p_len --- ext/standard/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.50.1