From e5998bbda2137285d080eaf24b7c479b800da876 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 26 Nov 2013 17:36:34 +0100 Subject: [PATCH] correct error datatype --- win32/winutil.c | 2 +- win32/winutil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/winutil.c b/win32/winutil.c index 1f467c98642..000d923233a 100644 --- a/win32/winutil.c +++ b/win32/winutil.c @@ -22,7 +22,7 @@ #include "php.h" #include -PHPAPI char *php_win32_error_to_msg(int error) +PHPAPI char *php_win32_error_to_msg(HRESULT error) { char *buf = NULL; diff --git a/win32/winutil.h b/win32/winutil.h index 3292174fc38..b9707da1294 100644 --- a/win32/winutil.h +++ b/win32/winutil.h @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -PHPAPI char *php_win32_error_to_msg(int error); +PHPAPI char *php_win32_error_to_msg(HRESULT error); #define php_win_err() php_win32_error_to_msg(GetLastError()) int php_win32_check_trailing_space(const char * path, const zend_str_size_int path_len);