From: Antony Dovgal Date: Thu, 28 Sep 2006 08:26:19 +0000 (+0000) Subject: fix compile warning X-Git-Tag: RELEASE_1_0_0RC1~1528 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=500dd0ac790f6e1653cb93dc7700e2d52dd364b0;p=php fix compile warning --- diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index 60526fa0e4..63f4e2c06b 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -206,7 +206,7 @@ PHPAPI const char* php_get_temporary_directory(void) PHPAPI int php_open_temporary_fd(const char *dir, const char *pfx, char **opened_path_p TSRMLS_DC) { int fd; - char *temp_dir = php_get_temporary_directory(); + const char *temp_dir = php_get_temporary_directory(); if (!pfx) { pfx = "tmp.";