com php-src: add missing cast: win32/ioutil.c
| From: | Anatol Belski | Date: | Sat, 23 Jul 2016 21:24:32 +0000 |
| Subject: | com php-src: add missing cast: win32/ioutil.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93357@lists.php.net to get a copy of this message | ||
Commit: 40557fdc346bde45dc912ae8ebe4bd7f3ff9d469
Author: Anatol Belski <ab@php.net> Sat, 23 Jul 2016 22:13:58 +0200
Parents: 66626cc223510f605f3096bc4981978914e1137e
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=40557fdc346bde45dc912ae8ebe4bd7f3ff9d469
Log:
add missing cast
Changed paths:
M win32/ioutil.c
Diff:
diff --git a/win32/ioutil.c b/win32/ioutil.c
index 5deb431..69cc5e2 100644
--- a/win32/ioutil.c
+++ b/win32/ioutil.c
@@ -554,10 +554,10 @@ BOOL php_win32_ioutil_init(void)
if (hMod) {
canonicalize_path_w = (MyPathCchCanonicalizeEx)GetProcAddress(hMod,
"PathCchCanonicalizeEx");
if (!canonicalize_path_w) {
- canonicalize_path_w = MyPathCchCanonicalizeExFallback;
+ canonicalize_path_w = (MyPathCchCanonicalizeEx)MyPathCchCanonicalizeExFallback;
}
} else {
- canonicalize_path_w = MyPathCchCanonicalizeExFallback;
+ canonicalize_path_w = (MyPathCchCanonicalizeEx)MyPathCchCanonicalizeExFallback;
}
return TRUE;