Eric Pouech : jsproxy: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Fri Feb 11 14:33:58 CST 2022
Module: wine
Branch: master
Commit: 8143fb5916ef9b8cca80c3116b037ec86da71bf1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8143fb5916ef9b8cca80c3116b037ec86da71bf1
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Fri Feb 11 08:41:17 2022 +0100
jsproxy: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/jsproxy/Makefile.in | 1 -
dlls/jsproxy/main.c | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/jsproxy/Makefile.in b/dlls/jsproxy/Makefile.in
index 6345c9a2d74..07f1fb53bc9 100644
--- a/dlls/jsproxy/Makefile.in
+++ b/dlls/jsproxy/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = jsproxy.dll
IMPORTS = uuid oleaut32 ole32 ws2_32
IMPORTLIB = jsproxy
diff --git a/dlls/jsproxy/main.c b/dlls/jsproxy/main.c
index bf8a2624920..b93d1200f42 100644
--- a/dlls/jsproxy/main.c
+++ b/dlls/jsproxy/main.c
@@ -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 );
More information about the wine-cvs
mailing list