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
cd0970eb
Commit
cd0970eb
authored
Dec 08, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the DECIMAL_SETZERO macro take a DECIMAL instead of a DECIMAL* as
in the Microsoft headers and fix up the only caller.
parent
c24ca67f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
variant.c
dlls/oleaut32/variant.c
+1
-1
wtypes.idl
include/wtypes.idl
+1
-1
No files found.
dlls/oleaut32/variant.c
View file @
cd0970eb
...
...
@@ -2390,7 +2390,7 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig,
ULONG64
tmp
;
DECIMAL
*
pDec
=
&
V_DECIMAL
(
pVarDst
);
DECIMAL_SETZERO
(
pDec
);
DECIMAL_SETZERO
(
*
pDec
);
DEC_LO32
(
pDec
)
=
0
;
if
(
pNumprs
->
dwOutFlags
&
NUMPRS_NEG
)
...
...
include/wtypes.idl
View file @
cd0970eb
...
...
@@ -631,7 +631,7 @@ cpp_quote(" } DUMMYUNIONNAME1;")
cpp_quote
(
"} DECIMAL;"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#define DECIMAL_NEG ((BYTE)0x80)"
)
cpp_quote
(
"#define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)"
)
cpp_quote
(
"#define DECIMAL_SETZERO(d) do{ memset(((char*)
&
(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)"
)
typedef
DECIMAL
*
LPDECIMAL
;
...
...
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