summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-09-28 08:26:33 +0000
committerAntony Dovgal <tony2001@php.net>2006-09-28 08:26:33 +0000
commit646cfe11e13833a0815ac9e0129b4db0667426d0 (patch)
tree920e18c14ec3d7c0848b09fcd79ec31d1a7e94d9
parentdbae50bf13c337a71cecbb310547b5ce46a3bda5 (diff)
downloadphp-git-646cfe11e13833a0815ac9e0129b4db0667426d0.tar.gz
MFH
-rw-r--r--main/php_open_temporary_file.c2
1 files changed, 1 insertions, 1 deletions
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.";