Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d324ccfc
Commit
d324ccfc
authored
Sep 07, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings found with -Wsign-compare.
parent
cb10a70a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
compobj.c
dlls/ole32/compobj.c
+3
-3
No files found.
dlls/ole32/compobj.c
View file @
d324ccfc
...
...
@@ -1290,7 +1290,7 @@ end:
*
* Reads a registry value and expands it when necessary
*/
HRESULT
compobj_RegReadPath
(
char
*
keyname
,
char
*
valuename
,
char
*
dst
,
int
dstlen
)
HRESULT
compobj_RegReadPath
(
char
*
keyname
,
char
*
valuename
,
char
*
dst
,
DWORD
dstlen
)
{
HRESULT
hres
;
HKEY
key
;
...
...
@@ -1303,7 +1303,7 @@ HRESULT compobj_RegReadPath(char * keyname, char * valuename, char * dst, int ds
if
(
keytype
==
REG_EXPAND_SZ
)
{
if
(
dstlen
<=
ExpandEnvironmentStringsA
(
src
,
dst
,
dstlen
))
hres
=
ERROR_MORE_DATA
;
}
else
{
strncpy
(
dst
,
src
,
dstlen
);
lstrcpynA
(
dst
,
src
,
dstlen
);
}
}
RegCloseKey
(
key
);
...
...
@@ -1589,7 +1589,7 @@ HRESULT WINAPI CoCreateInstanceEx(
IUnknown
*
pUnk
=
NULL
;
HRESULT
hr
;
ULONG
index
;
int
successCount
=
0
;
ULONG
successCount
=
0
;
/*
* Sanity check
...
...
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