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
ba1e2660
Commit
ba1e2660
authored
Nov 12, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Sign-compare warnings fix.
parent
974b8d80
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
assoc.c
dlls/shlwapi/assoc.c
+1
-1
url.c
dlls/shlwapi/url.c
+4
-4
No files found.
dlls/shlwapi/assoc.c
View file @
ba1e2660
...
...
@@ -803,7 +803,7 @@ static HRESULT WINAPI IQueryAssociations_fnGetString(
goto
get_friendly_name_fail
;
if
(
VerQueryValueW
(
verinfoW
,
translationW
,
(
LPVOID
*
)
&
bufW
,
&
flen
))
{
int
i
;
UINT
i
;
DWORD
*
langCodeDesc
=
(
DWORD
*
)
bufW
;
for
(
i
=
0
;
i
<
flen
/
sizeof
(
DWORD
);
i
++
)
{
...
...
dlls/shlwapi/url.c
View file @
ba1e2660
...
...
@@ -118,7 +118,7 @@ static const unsigned char HashDataLookup[256] = {
static
DWORD
get_scheme_code
(
LPCWSTR
scheme
,
DWORD
scheme_len
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
shlwapi_schemes
)
/
sizeof
(
shlwapi_schemes
[
0
]);
i
++
)
{
if
(
scheme_len
==
strlenW
(
shlwapi_schemes
[
i
].
scheme_name
)
...
...
@@ -314,8 +314,8 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized,
HRESULT
hr
=
S_OK
;
DWORD
EscapeFlags
;
LPWSTR
lpszUrlCpy
,
wk1
,
wk2
,
mp
,
mp2
,
root
;
INT
nByteLen
,
state
;
DWORD
nLen
,
nWkLen
;
INT
state
;
DWORD
n
ByteLen
,
n
Len
,
nWkLen
;
WCHAR
slash
=
'/'
;
static
const
WCHAR
wszFile
[]
=
{
'f'
,
'i'
,
'l'
,
'e'
,
':'
};
...
...
@@ -332,7 +332,7 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized,
return
S_OK
;
}
nByteLen
=
(
l
strlenW
(
pszUrl
)
+
1
)
*
sizeof
(
WCHAR
);
/* length in bytes */
nByteLen
=
(
strlenW
(
pszUrl
)
+
1
)
*
sizeof
(
WCHAR
);
/* length in bytes */
lpszUrlCpy
=
HeapAlloc
(
GetProcessHeap
(),
0
,
INTERNET_MAX_URL_LENGTH
*
sizeof
(
WCHAR
));
...
...
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