jsproxy: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-11 08:41:17 +01:00 committed by Alexandre Julliard
parent e8e0917a9c
commit 8143fb5916
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = jsproxy.dll
IMPORTS = uuid oleaut32 ole32 ws2_32
IMPORTLIB = jsproxy

View File

@ -81,7 +81,7 @@ static struct pac_script *global_script = &pac_script;
*/
BOOL WINAPI InternetDeInitializeAutoProxyDll( LPSTR mime, DWORD reserved )
{
TRACE( "%s, %u\n", debugstr_a(mime), reserved );
TRACE( "%s, %lu\n", debugstr_a(mime), reserved );
EnterCriticalSection( &cs_jsproxy );
@ -127,7 +127,7 @@ BOOL WINAPI JSPROXY_InternetInitializeAutoProxyDll( DWORD version, LPSTR tmpfile
{
BOOL ret = FALSE;
TRACE( "%u, %s, %s, %p, %p\n", version, debugstr_a(tmpfile), debugstr_a(mime), callbacks, buffer );
TRACE( "%lu, %s, %s, %p, %p\n", version, debugstr_a(tmpfile), debugstr_a(mime), callbacks, buffer );
if (callbacks) FIXME( "callbacks not supported\n" );
@ -538,7 +538,7 @@ static BOOL run_script( const WCHAR *script, const WCHAR *url, const WCHAR *host
VariantClear( &args[1] );
if (hr != S_OK)
{
WARN("script failed 0x%08x\n", hr);
WARN("script failed 0x%08lx\n", hr);
goto done;
}
if ((*result_str = strdupWA( V_BSTR( &retval ) )))
@ -568,7 +568,7 @@ BOOL WINAPI InternetGetProxyInfo( LPCSTR url, DWORD len_url, LPCSTR hostname, DW
WCHAR *urlW = NULL, *hostnameW = NULL;
BOOL ret = FALSE;
TRACE( "%s, %u, %s, %u, %p, %p\n", debugstr_a(url), len_url, hostname, len_hostname, proxy, len_proxy );
TRACE( "%s, %lu, %s, %lu, %p, %p\n", debugstr_a(url), len_url, hostname, len_hostname, proxy, len_proxy );
EnterCriticalSection( &cs_jsproxy );