com php-src: correct error datatype: win32/winutil.c win32/winutil.h

From: Date: Tue, 26 Nov 2013 16:36:34 +0000
Subject: com php-src: correct error datatype: win32/winutil.c win32/winutil.h
Groups: php.cvs 
Request: Send a blank email to [email protected] to get a copy of this message
Commit:    e5998bbda2137285d080eaf24b7c479b800da876
Author:    Anatol Belski <[email protected]>         Tue, 26 Nov 2013 17:36:34 +0100
Parents:   d508a094ae750718c6ac28fe4adf8f7ddfecef58
Branches:  str_size_and_int64

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=e5998bbda2137285d080eaf24b7c479b800da876

Log:
correct error datatype

Changed paths:
  M  win32/winutil.c
  M  win32/winutil.h


Diff:
diff --git a/win32/winutil.c b/win32/winutil.c
index 1f467c9..000d923 100644
--- a/win32/winutil.c
+++ b/win32/winutil.c
@@ -22,7 +22,7 @@
 #include "php.h"
 #include <wincrypt.h>
 
-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 3292174..b9707da 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);



Thread (1 message)

  • Anatol Belski
« previous php.cvs (#74055) next »