https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c2083ed3602159ffae115…
commit c2083ed3602159ffae11589ea24edac05f16cd75
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Fri Dec 21 00:07:24 2018 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Dec 21 00:07:24 2018 +0100
[JSCRIPT] Fix a MSVC-x64 warning about to_uint32() (#1172)
"...\jsutils.c(679) : warning C4028: formal parameter 3 different from
declaration"
Cherry-pick:
https://source.winehq.org/git/wine.git/commit/961d5c8ed05eeccbe216ff24faa0e…
CORE-7538
---
dll/win32/jscript/jsutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/jscript/jsutils.c b/dll/win32/jscript/jsutils.c
index 90206113a2..5045072603 100644
--- a/dll/win32/jscript/jsutils.c
+++ b/dll/win32/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;