[PATCH] jscript: Fix a MSVC-x64 warning about to_uint32().

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Mon Dec 17 19:11:41 CST 2018


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
"...\jscript\jsutils.c(679) : warning C4028: formal parameter 3 different from declaration"

ReactOS-Bug: https://jira.reactos.org/browse/CORE-7538
---
 dlls/jscript/jsutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/jscript/jsutils.c b/dlls/jscript/jsutils.c
index b612e65..b653e52 100644
--- a/dlls/jscript/jsutils.c
+++ b/dlls/jscript/jsutils.c
@@ -675,7 +675,7 @@ HRESULT to_int32(script_ctx_t *ctx, jsval_t v, INT *ret)
 }
 
 /* ECMA-262 3rd Edition    9.6 */
-HRESULT to_uint32(script_ctx_t *ctx, jsval_t val, DWORD *ret)
+HRESULT to_uint32(script_ctx_t *ctx, jsval_t val, UINT32 *ret)
 {
     INT32 n;
     HRESULT hres;
-- 
2.10.0.windows.1




More information about the wine-devel mailing list