olecli32: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Sat Oct 7 17:51:18 CDT 2006


---
 dlls/olecli32/Makefile.in   |    1 -
 dlls/olecli32/olecli16.c    |   14 +++++++-------
 dlls/olecli32/olecli_main.c |   14 +++++++-------
 3 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/dlls/olecli32/Makefile.in b/dlls/olecli32/Makefile.in
index a2dc3c8..334e8e1 100644
--- a/dlls/olecli32/Makefile.in
+++ b/dlls/olecli32/Makefile.in
@@ -5,7 +5,6 @@ VPATH     = @srcdir@
 MODULE    = olecli32.dll
 IMPORTLIB = libolecli32.$(IMPLIBEXT)
 IMPORTS   = ole32 gdi32 kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = \
 	olecli_main.c
diff --git a/dlls/olecli32/olecli16.c b/dlls/olecli32/olecli16.c
index 7545fbf..a1da30a 100644
--- a/dlls/olecli32/olecli16.c
+++ b/dlls/olecli32/olecli16.c
@@ -199,7 +199,7 @@ static LONG OLE_current_handle;
  */
 OLESTATUS WINAPI OleSavedClientDoc16(LHCLIENTDOC hDoc)
 {
-    FIXME("(%ld: stub\n", hDoc);
+    FIXME("(%d: stub\n", hDoc);
     return OLE_OK;
 }
 
@@ -219,7 +219,7 @@ OLESTATUS WINAPI OleRegisterClientDoc16(
  */
 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
 {
-    FIXME("(%ld,%s,...): stub\n",hDoc, newName);
+    FIXME("(%d,%s,...): stub\n",hDoc, newName);
     return OLE_OK;
 }
 
@@ -228,7 +228,7 @@ OLESTATUS WINAPI OleRenameClientDoc16(LH
  */
 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%ld): stub\n",hServerDoc);
+    FIXME("(%d): stub\n",hServerDoc);
     return OLE_OK;
 }
 
@@ -237,7 +237,7 @@ OLESTATUS WINAPI OleRevokeClientDoc16(LH
  */
 OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%ld): stub\n", hServerDoc);
+    FIXME("(%d): stub\n", hServerDoc);
     return OLE_OK;
 }
 
@@ -246,7 +246,7 @@ OLESTATUS WINAPI OleRevertClientDoc16(LH
  */
 OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
 {
-    FIXME("(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
+    FIXME("(%d, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
 	LOWORD(data));
     return OLE_OK;
 }
@@ -258,7 +258,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip16
                                           LPCSTR xname, SEGPTR lpoleob, UINT16 render,
                                           UINT16 clipformat )
 {
-	FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
+	FIXME("(%s, %04x:%04x, %d, %s, %04x:%04x, %d, %d): stub!\n",
               name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
               LOWORD(lpoleob), render, clipformat);
 	return OLE_OK;
@@ -305,7 +305,7 @@ OLESTATUS WINAPI OleCreateFromClip16( LP
                                       LPCSTR xname, SEGPTR lpoleob,
                                       UINT16 render, UINT16 clipformat )
 {
-	FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
+	FIXME("(%s, %04x:%04x, %d, %s, %04x:%04x, %d, %d): stub!\n",
               name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
               LOWORD(lpoleob), render, clipformat);
 	return OLE_OK;
diff --git a/dlls/olecli32/olecli_main.c b/dlls/olecli32/olecli_main.c
index 99574ac..d751522 100644
--- a/dlls/olecli32/olecli_main.c
+++ b/dlls/olecli32/olecli_main.c
@@ -199,7 +199,7 @@ static LONG OLE_current_handle;
  */
 OLESTATUS WINAPI OleSavedClientDoc(LHCLIENTDOC hDoc)
 {
-    FIXME("(%ld: stub\n", hDoc);
+    FIXME("(%d: stub\n", hDoc);
     return OLE_OK;
 }
 
@@ -219,7 +219,7 @@ OLESTATUS WINAPI OleRegisterClientDoc(LP
  */
 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
 {
-    FIXME("(%ld,%s,...): stub\n",hDoc, newName);
+    FIXME("(%d,%s,...): stub\n",hDoc, newName);
     return OLE_OK;
 }
 
@@ -228,7 +228,7 @@ OLESTATUS WINAPI OleRenameClientDoc(LHCL
  */
 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%ld): stub\n",hServerDoc);
+    FIXME("(%d): stub\n",hServerDoc);
     return OLE_OK;
 }
 
@@ -239,7 +239,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip(
 	LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
 	_LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
 ) {
-	FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
+	FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
 	      name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
 	return OLE_OK;
 }
@@ -248,7 +248,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip(
  *           OleQueryLinkFromClip	[OLECLI32.9]
  */
 OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
-	FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
+	FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
 	return OLE_OK;
 }
 
@@ -256,7 +256,7 @@ OLESTATUS WINAPI OleQueryLinkFromClip(LP
  *           OleQueryCreateFromClip	[OLECLI32.10]
  */
 OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
-	FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
+	FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
 	return OLE_OK;
 }
 
@@ -296,7 +296,7 @@ OLESTATUS WINAPI OleCreateFromClip(
 	LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
 	_LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
 ) {
-	FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
+	FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
 	      name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
 	/* clipb type, object kreieren entsprechend etc. */
 	return OLE_OK;
-- 
1.4.2.3
-------------- 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/20061008/02c45a74/attachment.pgp


More information about the wine-patches mailing list