[JSCRIPT] Fix a MSVC-x64 warning about to_uint32() (#1172)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Thu, 20 Dec 2018 23:07:24 +0000 (00:07 +0100)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Thu, 20 Dec 2018 23:07:24 +0000 (00:07 +0100)
"...\jsutils.c(679) : warning C4028: formal parameter 3 different from declaration"

Cherry-pick:
https://source.winehq.org/git/wine.git/commit/961d5c8ed05eeccbe216ff24faa0e3d6a0c2b332
CORE-7538

dll/win32/jscript/jsutils.c

index 9020611..5045072 100644 (file)
@@ -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;