Eric Pouech : msident: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Tue Feb 15 16:07:17 CST 2022


Module: wine
Branch: master
Commit: ef587a763db2f5b3301a6c6b008a12b2c03cad73
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ef587a763db2f5b3301a6c6b008a12b2c03cad73

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Tue Feb 15 07:29:48 2022 +0100

msident: 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/msident/Makefile.in |  1 -
 dlls/msident/msident.c   | 12 ++++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/dlls/msident/Makefile.in b/dlls/msident/Makefile.in
index 99040bd9245..d04285aebd6 100644
--- a/dlls/msident/Makefile.in
+++ b/dlls/msident/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = msident.dll
 
 EXTRADLLFLAGS = -Wb,--prefer-native
diff --git a/dlls/msident/msident.c b/dlls/msident/msident.c
index 44a65c3e477..2099038ef15 100644
--- a/dlls/msident/msident.c
+++ b/dlls/msident/msident.c
@@ -63,7 +63,7 @@ static ULONG WINAPI EnumUserIdentity_AddRef(IEnumUserIdentity *iface)
     EnumUserIdentity *This = impl_from_IEnumUserIdentity(iface);
     LONG ref = InterlockedIncrement(&This->ref);
 
-    TRACE("(%p) ref=%d\n", This, ref);
+    TRACE("(%p) ref=%ld\n", This, ref);
 
     return ref;
 }
@@ -73,7 +73,7 @@ static ULONG WINAPI EnumUserIdentity_Release(IEnumUserIdentity *iface)
     EnumUserIdentity *This = impl_from_IEnumUserIdentity(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);
@@ -84,14 +84,14 @@ static ULONG WINAPI EnumUserIdentity_Release(IEnumUserIdentity *iface)
 static HRESULT WINAPI EnumUserIdentity_Next(IEnumUserIdentity *iface, ULONG celt, IUnknown **rgelt, ULONG *pceltFetched)
 {
     EnumUserIdentity *This = impl_from_IEnumUserIdentity(iface);
-    FIXME("(%p)->(%u %p %p)\n", This, celt, rgelt, pceltFetched);
+    FIXME("(%p)->(%lu %p %p)\n", This, celt, rgelt, pceltFetched);
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI EnumUserIdentity_Skip(IEnumUserIdentity *iface, ULONG celt)
 {
     EnumUserIdentity *This = impl_from_IEnumUserIdentity(iface);
-    FIXME("(%p)->(%u)\n", This, celt);
+    FIXME("(%p)->(%lu)\n", This, celt);
     return E_NOTIMPL;
 }
 
@@ -179,14 +179,14 @@ static HRESULT WINAPI UserIdentityManager_EnumIdentities(IUserIdentityManager *i
 
 static HRESULT WINAPI UserIdentityManager_ManageIdentities(IUserIdentityManager *iface, HWND hwndParent, DWORD dwFlags)
 {
-    FIXME("(%p %x)\n", hwndParent, dwFlags);
+    FIXME("(%p %lx)\n", hwndParent, dwFlags);
     return E_NOTIMPL;
 }
 
 static HRESULT WINAPI UserIdentityManager_Logon(IUserIdentityManager *iface, HWND hwndParent,
         DWORD dwFlags, IUserIdentity **ppIdentity)
 {
-    FIXME("(%p %x %p)\n", hwndParent, dwFlags, ppIdentity);
+    FIXME("(%p %lx %p)\n", hwndParent, dwFlags, ppIdentity);
     return E_USER_CANCELLED;
 }
 




More information about the wine-cvs mailing list