winhttp: Port numbers are unsigned (more).

This commit is contained in:
André Hentschel 2011-03-28 21:40:43 +02:00 committed by Alexandre Julliard
parent 3a06c5a54a
commit 1c7d45c093
1 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ static DWORD comp_length( DWORD len, DWORD flags, WCHAR *comp )
static BOOL calc_length( URL_COMPONENTS *uc, DWORD flags, LPDWORD len ) static BOOL calc_length( URL_COMPONENTS *uc, DWORD flags, LPDWORD len )
{ {
static const WCHAR formatW[] = {'%','d',0}; static const WCHAR formatW[] = {'%','u',0};
INTERNET_SCHEME scheme; INTERNET_SCHEME scheme;
*len = 0; *len = 0;
@ -360,7 +360,7 @@ static BOOL calc_length( URL_COMPONENTS *uc, DWORD flags, LPDWORD len )
*/ */
BOOL WINAPI WinHttpCreateUrl( LPURL_COMPONENTS uc, DWORD flags, LPWSTR url, LPDWORD required ) BOOL WINAPI WinHttpCreateUrl( LPURL_COMPONENTS uc, DWORD flags, LPWSTR url, LPDWORD required )
{ {
static const WCHAR formatW[] = {'%','d',0}; static const WCHAR formatW[] = {'%','u',0};
static const WCHAR twoslashW[] = {'/','/'}; static const WCHAR twoslashW[] = {'/','/'};
DWORD len; DWORD len;