]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Thu, 28 Sep 2006 08:26:45 +0000 (08:26 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 28 Sep 2006 08:26:45 +0000 (08:26 +0000)
main/php_open_temporary_file.c

index e4ce52910e0586c89186346a9ccf6c498c3df1f9..c479e9e6c69792fb250073edb3a00fb87aa82e85 100644 (file)
@@ -207,7 +207,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.";