Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
c576803f
Commit
c576803f
authored
Jun 27, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove superfluous casts of void pointers to other pointer types.
parent
f59c8a68
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
url.c
dlls/wininet/tests/url.c
+7
-7
No files found.
dlls/wininet/tests/url.c
View file @
c576803f
...
...
@@ -569,7 +569,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
lpszScheme
=
nhttp
;
urlComp
.
dwSchemeLength
=
strlen
(
urlComp
.
lpszScheme
);
len
=
strlen
(
CREATE_URL6
)
+
1
;
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL6
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL6
)
+
1
,
len
);
...
...
@@ -606,7 +606,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
lpszExtraInfo
=
empty
;
urlComp
.
dwExtraInfoLength
=
0
;
len
=
strlen
(
CREATE_URL1
);
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL1
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL1
),
len
);
...
...
@@ -631,7 +631,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
lpszExtraInfo
=
empty
;
urlComp
.
dwExtraInfoLength
=
0
;
len
=
strlen
(
CREATE_URL8
);
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL8
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL8
),
len
);
...
...
@@ -647,7 +647,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
dwUrlPathLength
=
5
;
len
=
strlen
(
CREATE_URL9
);
len
++
;
/* work around bug in native wininet */
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL9
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL9
),
len
);
...
...
@@ -662,7 +662,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
lpszUrlPath
=
blank
;
len
=
strlen
(
CREATE_URL10
);
len
++
;
/* work around bug in native wininet */
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL10
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL10
),
len
);
...
...
@@ -675,7 +675,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
nPort
=
8080
;
urlComp
.
lpszScheme
=
about
;
len
=
strlen
(
CREATE_URL11
);
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL11
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL11
),
len
);
...
...
@@ -692,7 +692,7 @@ static void InternetCreateUrlA_test(void)
urlComp
.
dwHostNameLength
=
0
;
urlComp
.
nPort
=
65535
;
len
=
strlen
(
CREATE_URL12
);
szUrl
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
szUrl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
++
len
);
ret
=
InternetCreateUrlA
(
&
urlComp
,
ICU_ESCAPE
,
szUrl
,
&
len
);
ok
(
ret
,
"Expected success
\n
"
);
ok
(
len
==
strlen
(
CREATE_URL12
),
"Expected len %d, got %d
\n
"
,
lstrlenA
(
CREATE_URL12
),
len
);
...
...
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