activeds: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Wed Oct 4 04:50:01 CDT 2006


---
 dlls/activeds/Makefile.in     |    1 -
 dlls/activeds/activeds_main.c |    6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/activeds/Makefile.in b/dlls/activeds/Makefile.in
index 4efa658..de1de42 100644
--- a/dlls/activeds/Makefile.in
+++ b/dlls/activeds/Makefile.in
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 MODULE    = activeds.dll
 IMPORTLIB = libactiveds.$(IMPLIBEXT)
 IMPORTS   = kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = activeds_main.c
 
diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c
index 0234029..ba829d1 100644
--- a/dlls/activeds/activeds_main.c
+++ b/dlls/activeds/activeds_main.c
@@ -47,7 +47,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(activeds);
  */
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
-    TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
+    TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
 
     switch(fdwReason)
     {
@@ -83,7 +83,7 @@ HRESULT WINAPI ADsBuildEnumerator(IADsCo
  */
 HRESULT WINAPI ADsEnumerateNext(IEnumVARIANT* pEnumVariant, ULONG cElements, VARIANT* pvar, ULONG * pcElementsFetched)
 {
-    FIXME("(%p)->(%lu, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
+    FIXME("(%p)->(%u, %p, %p)!stub\n",pEnumVariant, cElements, pvar, pcElementsFetched);
     return E_NOTIMPL;
 }
 
@@ -92,7 +92,7 @@ HRESULT WINAPI ADsEnumerateNext(IEnumVAR
  */
 HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR lpszPassword, DWORD dwReserved, REFIID riid, VOID** ppObject)
 {
-    FIXME("(%s,%s,%lu,%p,%p)!stub\n", debugstr_w(lpszPathName),
+    FIXME("(%s,%s,%u,%p,%p)!stub\n", debugstr_w(lpszPathName),
           debugstr_w(lpszUserName), dwReserved, debugstr_guid(riid), ppObject);
     return E_NOTIMPL;
 }
-- 
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061004/6f0f1bb8/attachment.pgp


More information about the wine-patches mailing list