projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0da8ae
)
[0.4.9][OLEAUT32] Fix an MSVC warning about VarCyMul() CORE-7538
author
Joachim Henze
<Joachim.Henze@reactos.org>
Sun, 13 Mar 2022 14:08:30 +0000
(15:08 +0100)
committer
Joachim Henze
<Joachim.Henze@reactos.org>
Sun, 13 Mar 2022 14:08:30 +0000
(15:08 +0100)
Observable in MSVC2010SP1 dbg config:
"...\vartype.c(3808) : warning C4028: formal parameter 2 different from declaration"
Minimal cherry-pick Alexandre Julliard
https://source.winehq.org/git/wine.git/commit/
18f7ec3670375f6389b36527fbfe1216fe795e53
The fix was picked from 0.4.10-dev-512-g
2ad650469ea76edf8b3ec3d8dbc867c5a5781598
dll/win32/oleaut32/vartype.c
patch
|
blob
|
history
diff --git
a/dll/win32/oleaut32/vartype.c
b/dll/win32/oleaut32/vartype.c
index
eeef992
..
9e271be
100644
(file)
--- a/
dll/win32/oleaut32/vartype.c
+++ b/
dll/win32/oleaut32/vartype.c
@@
-3804,7
+3804,7
@@
HRESULT WINAPI VarCyAdd(const CY cyLeft, const CY cyRight, CY* pCyOut)
* Success: S_OK.
* Failure: DISP_E_OVERFLOW, if the value will not fit in the destination
*/
-HRESULT WINAPI VarCyMul(const CY cyLeft,
const
CY cyRight, CY* pCyOut)
+HRESULT WINAPI VarCyMul(const CY cyLeft, CY cyRight, CY* pCyOut)
{
double l,r;
_VarR8FromCy(cyLeft, &l);