Eric Pouech : inseng: Enable compilation with long types.
Alexandre Julliard
julliard at winehq.org
Fri Feb 11 14:33:57 CST 2022
Module: wine
Branch: master
Commit: 8d006c1db7553e01f1ee53d4ecaed96b3e7a038b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d006c1db7553e01f1ee53d4ecaed96b3e7a038b
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Fri Feb 11 08:40:47 2022 +0100
inseng: 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/inseng/Makefile.in | 1 -
dlls/inseng/inseng_main.c | 14 +++++++-------
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/dlls/inseng/Makefile.in b/dlls/inseng/Makefile.in
index f4b1d4b915f..0217203791a 100644
--- a/dlls/inseng/Makefile.in
+++ b/dlls/inseng/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = inseng.dll
IMPORTS = uuid ole32 advapi32
diff --git a/dlls/inseng/inseng_main.c b/dlls/inseng/inseng_main.c
index 2c95a2e72bd..c72a12955b8 100644
--- a/dlls/inseng/inseng_main.c
+++ b/dlls/inseng/inseng_main.c
@@ -74,7 +74,7 @@ static ULONG WINAPI InstallEngine_AddRef(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedIncrement(&This->ref);
- TRACE("(%p) ref=%d\n", This, ref);
+ TRACE("(%p) ref=%ld\n", This, ref);
return ref;
}
@@ -84,7 +84,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface)
InstallEngine *This = impl_from_IInstallEngine2(iface);
LONG ref = InterlockedDecrement(&This->ref);
- TRACE("(%p) ref=%d\n", This, ref);
+ TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
@@ -109,14 +109,14 @@ static HRESULT WINAPI InstallEngine_SetCifFile(IInstallEngine2 *iface, const cha
static HRESULT WINAPI InstallEngine_DownloadComponents(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
- FIXME("(%p)->(%x)\n", This, flags);
+ FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
static HRESULT WINAPI InstallEngine_InstallComponents(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
- FIXME("(%p)->(%x)\n", This, flags);
+ FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
@@ -158,7 +158,7 @@ static HRESULT WINAPI InstallEngine_UnregisterInstallEngineCallback(IInstallEngi
static HRESULT WINAPI InstallEngine_SetAction(IInstallEngine2 *iface, const char *id, DWORD action, DWORD priority)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
- FIXME("(%p)->(%s %d %d)\n", This, debugstr_a(id), action, priority);
+ FIXME("(%p)->(%s %ld %ld)\n", This, debugstr_a(id), action, priority);
return E_NOTIMPL;
}
@@ -207,7 +207,7 @@ static HRESULT WINAPI InstallEngine_SetInstallDrive(IInstallEngine2 *iface, char
static HRESULT WINAPI InstallEngine_SetInstallOptions(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
- FIXME("(%p)->(%x)\n", This, flags);
+ FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
@@ -228,7 +228,7 @@ static HRESULT WINAPI InstallEngine_SetIStream(IInstallEngine2 *iface, IStream *
static HRESULT WINAPI InstallEngine_Abort(IInstallEngine2 *iface, DWORD flags)
{
InstallEngine *This = impl_from_IInstallEngine2(iface);
- FIXME("(%p)->(%x)\n", This, flags);
+ FIXME("(%p)->(%lx)\n", This, flags);
return E_NOTIMPL;
}
More information about the wine-cvs
mailing list