From 9b5d66bd52c90f37aa39ea6bcab4c46b6121f3d8 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 27 Aug 2019 14:34:14 +0200 Subject: Fix signature and calls --- main/php_ini.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/php_ini.c') 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); -- cgit v1.2.1