Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d693dfda
Commit
d693dfda
authored
Feb 18, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Feb 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Constify input parameter to VarR8FromDec.
With thanks to Dmitry for spotting this.
parent
e968f099
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
vartype.c
dlls/oleaut32/vartype.c
+1
-1
oleauto.h
include/oleauto.h
+1
-1
No files found.
dlls/oleaut32/vartype.c
View file @
d693dfda
...
...
@@ -3265,7 +3265,7 @@ HRESULT WINAPI VarR8FromUI4(ULONG ulIn, double *pDblOut)
* Success: S_OK.
* Failure: E_INVALIDARG, if the source value is invalid.
*/
HRESULT
WINAPI
VarR8FromDec
(
DECIMAL
*
pDecIn
,
double
*
pDblOut
)
HRESULT
WINAPI
VarR8FromDec
(
const
DECIMAL
*
pDecIn
,
double
*
pDblOut
)
{
BYTE
scale
=
DEC_SCALE
(
pDecIn
);
double
divisor
=
1
.
0
,
highPart
;
...
...
include/oleauto.h
View file @
d693dfda
...
...
@@ -316,7 +316,7 @@ HRESULT WINAPI VarR8FromUI4(ULONG,double*);
HRESULT
WINAPI
VarR8FromUI8
(
ULONG64
,
double
*
);
HRESULT
WINAPI
VarR8FromStr
(
OLECHAR
*
,
LCID
,
ULONG
,
double
*
);
HRESULT
WINAPI
VarR8FromCy
(
CY
,
double
*
);
HRESULT
WINAPI
VarR8FromDec
(
DECIMAL
*
,
double
*
);
HRESULT
WINAPI
VarR8FromDec
(
const
DECIMAL
*
,
double
*
);
HRESULT
WINAPI
VarR8FromDisp
(
IDispatch
*
,
LCID
,
double
*
);
HRESULT
WINAPI
VarDateFromUI1
(
BYTE
,
DATE
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment