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
32fbfea4
Commit
32fbfea4
authored
Jan 08, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Cast-qual warnings fixes.
parent
83aeda3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
stg_prop.c
dlls/ole32/tests/stg_prop.c
+5
-5
No files found.
dlls/ole32/tests/stg_prop.c
View file @
32fbfea4
...
...
@@ -46,8 +46,8 @@ static void testProps(void)
{
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
static
const
WCHAR
propName
[]
=
{
'p'
,
'r'
,
'o'
,
'p'
,
0
};
static
c
onst
c
har
val
[]
=
"l33t auth0r"
;
static
WCHAR
propName
[]
=
{
'p'
,
'r'
,
'o'
,
'p'
,
0
};
static
char
val
[]
=
"l33t auth0r"
;
WCHAR
filename
[
MAX_PATH
];
HRESULT
hr
;
IStorage
*
storage
=
NULL
;
...
...
@@ -131,7 +131,7 @@ static void testProps(void)
spec
.
ulKind
=
PRSPEC_PROPID
;
U
(
spec
).
propid
=
PIDSI_AUTHOR
;
var
.
vt
=
VT_LPSTR
;
U
(
var
).
pszVal
=
(
LPSTR
)
val
;
U
(
var
).
pszVal
=
val
;
hr
=
IPropertyStorage_WriteMultiple
(
propertyStorage
,
1
,
&
spec
,
&
var
,
0
);
ok
(
hr
==
S_OK
,
"WriteMultiple failed: 0x%08x
\n
"
,
hr
);
...
...
@@ -293,7 +293,7 @@ static void testCodepage(void)
static
const
WCHAR
szDot
[]
=
{
'.'
,
0
};
static
const
WCHAR
szPrefix
[]
=
{
's'
,
't'
,
'g'
,
0
};
static
CHAR
aval
[]
=
"hi"
;
static
const
WCHAR
wval
[]
=
{
'h'
,
'i'
,
0
};
static
WCHAR
wval
[]
=
{
'h'
,
'i'
,
0
};
HRESULT
hr
;
IStorage
*
storage
=
NULL
;
IPropertySetStorage
*
propSetStorage
=
NULL
;
...
...
@@ -422,7 +422,7 @@ static void testCodepage(void)
* obviously something about string conversion I don't understand.
*/
if
(
0
)
{
static
const
unsigned
char
strVal
[]
=
{
0x81
,
0xff
,
0x04
,
0
};
static
unsigned
char
strVal
[]
=
{
0x81
,
0xff
,
0x04
,
0
};
/* Set code page to 950 (Traditional Chinese) */
U
(
var
).
iVal
=
950
;
hr
=
IPropertyStorage_WriteMultiple
(
propertyStorage
,
1
,
&
spec
,
&
var
,
0
);
...
...
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