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
79bda3d4
Commit
79bda3d4
authored
Feb 23, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledb32: Avoid signed-unsigned integer comparisons.
parent
10e9e153
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
datainit.c
dlls/oledb32/datainit.c
+6
-6
No files found.
dlls/oledb32/datainit.c
View file @
79bda3d4
...
...
@@ -275,11 +275,11 @@ static ULONG WINAPI datainit_Release(IDataInitialize *iface)
static
void
free_dbpropset
(
ULONG
count
,
DBPROPSET
*
propset
)
{
int
i
;
ULONG
i
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
int
p
;
ULONG
p
;
for
(
p
=
0
;
p
<
propset
[
i
].
cProperties
;
p
++
)
VariantClear
(
&
propset
[
i
].
rgProperties
[
p
].
vValue
);
...
...
@@ -566,7 +566,7 @@ static void write_propvalue_str(WCHAR *str, DBPROP *prop)
static
WCHAR
*
get_propinfo_descr
(
DBPROP
*
prop
,
DBPROPINFOSET
*
propinfoset
)
{
int
i
;
ULONG
i
;
for
(
i
=
0
;
i
<
propinfoset
->
cPropertyInfos
;
i
++
)
if
(
propinfoset
->
rgPropertyInfos
[
i
].
dwPropertyID
==
prop
->
dwPropertyID
)
...
...
@@ -577,11 +577,11 @@ static WCHAR *get_propinfo_descr(DBPROP *prop, DBPROPINFOSET *propinfoset)
static
void
free_dbpropinfoset
(
ULONG
count
,
DBPROPINFOSET
*
propinfoset
)
{
int
i
;
ULONG
i
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
int
p
;
ULONG
p
;
for
(
p
=
0
;
p
<
propinfoset
[
i
].
cPropertyInfos
;
p
++
)
VariantClear
(
&
propinfoset
[
i
].
rgPropertyInfos
[
p
].
vValues
);
...
...
@@ -606,7 +606,7 @@ static HRESULT WINAPI datainit_GetInitializationString(IDataInitialize *iface, I
IPersist
*
persist
;
HRESULT
hr
;
CLSID
clsid
;
int
i
,
len
;
ULONG
i
,
len
;
TRACE
(
"(%p)->(%p %d %p)
\n
"
,
This
,
datasource
,
include_pass
,
init_string
);
...
...
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