Skip to content

Commit 9b5d66b

Browse files
committed
Fix signature and calls
1 parent 78e0f85 commit 9b5d66b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ext/standard/dl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ PHPAPI int php_load_extension(char *filename, int type, int start_now)
168168
}
169169

170170
#ifdef PHP_WIN32
171-
if (!php_win32_image_compatible(libpath, NULL, &err1)) {
171+
if (!php_win32_image_compatible(libpath, &err1)) {
172172
php_error_docref(NULL, error_type, err1);
173173
efree(err1);
174174
efree(libpath);

main/php_ini.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void php_load_zend_extension_cb(void *arg)
341341
if (IS_ABSOLUTE_PATH(filename, length)) {
342342
#ifdef PHP_WIN32
343343
char *err;
344-
if (!php_win32_image_compatible(filename, NULL, &err)) {
344+
if (!php_win32_image_compatible(filename, &err)) {
345345
php_error(E_CORE_WARNING, err);
346346
return;
347347
}
@@ -392,7 +392,7 @@ static void php_load_zend_extension_cb(void *arg)
392392
}
393393

394394
#ifdef PHP_WIN32
395-
if (!php_win32_image_compatible(libpath, NULL, &err1)) {
395+
if (!php_win32_image_compatible(libpath, &err1)) {
396396
php_error(E_CORE_WARNING, err1);
397397
efree(err1);
398398
efree(libpath);

win32/winutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ PHP_WINUTIL_API int php_win32_code_to_errno(unsigned long w32Err);
5555

5656
PHP_WINUTIL_API char *php_win32_get_username(void);
5757

58-
PHP_WINUTIL_API BOOL php_win32_image_compatible(const char *img, const char *path, char **err);
58+
PHP_WINUTIL_API BOOL php_win32_image_compatible(const char *img, char **err);
5959
PHP_WINUTIL_API BOOL php_win32_crt_compatible(const char *img, char **err);
6060

6161
#endif

0 commit comments

Comments
 (0)