summaryrefslogtreecommitdiff
path: root/main/php_ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_ini.c')
-rw-r--r--main/php_ini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_ini.c b/main/php_ini.c
index d508c13b50..cc2cf16cf8 100644
--- a/main/php_ini.c
+++ b/main/php_ini.c
@@ -341,7 +341,7 @@ static void php_load_zend_extension_cb(void *arg)
if (IS_ABSOLUTE_PATH(filename, length)) {
#ifdef PHP_WIN32
char *err;
- if (!php_win32_image_compatible(filename, NULL, &err)) {
+ if (!php_win32_image_compatible(filename, &err)) {
php_error(E_CORE_WARNING, err);
return;
}
@@ -392,7 +392,7 @@ static void php_load_zend_extension_cb(void *arg)
}
#ifdef PHP_WIN32
- if (!php_win32_image_compatible(libpath, NULL, &err1)) {
+ if (!php_win32_image_compatible(libpath, &err1)) {
php_error(E_CORE_WARNING, err1);
efree(err1);
efree(libpath);