Eric Pouech : olecli32: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Wed Feb 16 15:30:23 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Feb 16 08:12:16 2022 +0100

olecli32: 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/olecli32/Makefile.in   |  1 -
 dlls/olecli32/olecli_main.c | 14 +++++++-------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/dlls/olecli32/Makefile.in b/dlls/olecli32/Makefile.in
index 54dc54d02ac..0eca46ff269 100644
--- a/dlls/olecli32/Makefile.in
+++ b/dlls/olecli32/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = olecli32.dll
 IMPORTLIB = olecli32
 IMPORTS   = ole32 gdi32
diff --git a/dlls/olecli32/olecli_main.c b/dlls/olecli32/olecli_main.c
index ebffc0fda6a..38ffd48b0f0 100644
--- a/dlls/olecli32/olecli_main.c
+++ b/dlls/olecli32/olecli_main.c
@@ -88,7 +88,7 @@ static LONG OLE_current_handle;
  */
 OLESTATUS WINAPI OleSavedClientDoc(LHCLIENTDOC hDoc)
 {
-    FIXME("(%d: stub\n", hDoc);
+    FIXME("(%ld: stub\n", hDoc);
     return OLE_OK;
 }
 
@@ -108,7 +108,7 @@ OLESTATUS WINAPI OleRegisterClientDoc(LPCSTR classname, LPCSTR docname,
  */
 OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
 {
-    FIXME("(%d,%s,...): stub\n",hDoc, newName);
+    FIXME("(%ld,%s,...): stub\n",hDoc, newName);
     return OLE_OK;
 }
 
@@ -117,7 +117,7 @@ OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC hDoc, LPCSTR newName)
  */
 OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%d): stub\n",hServerDoc);
+    FIXME("(%ld): stub\n",hServerDoc);
     return OLE_OK;
 }
 
@@ -128,7 +128,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip(
 	LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
 	_LPOLEOBJECT *lpoleob,OLEOPT_RENDER render,OLECLIPFORMAT clipformat
 ) {
-	FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
+	FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
 	      name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
 	return OLE_OK;
 }
@@ -137,7 +137,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip(
  *           OleQueryLinkFromClip	[OLECLI32.9]
  */
 OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
-	FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
+	FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
 	return OLE_OK;
 }
 
@@ -145,7 +145,7 @@ OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFO
  *           OleQueryCreateFromClip	[OLECLI32.10]
  */
 OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR name,OLEOPT_RENDER render,OLECLIPFORMAT clipformat) {
-	FIXME("(%s,%d,%d): stub!\n",name,render,clipformat);
+	FIXME("(%s,%d,%ld): stub!\n",name,render,clipformat);
 	return OLE_OK;
 }
 
@@ -185,7 +185,7 @@ OLESTATUS WINAPI OleCreateFromClip(
 	LPCSTR name,LPOLECLIENT olecli,LHCLIENTDOC hclientdoc,LPCSTR xname,
 	_LPOLEOBJECT *lpoleob,OLEOPT_RENDER render, OLECLIPFORMAT clipformat
 ) {
-	FIXME("(%s,%p,%08x,%s,%p,%d,%d): stub!\n",
+	FIXME("(%s,%p,%08lx,%s,%p,%d,%ld): stub!\n",
 	      name,olecli,hclientdoc,xname,lpoleob,render,clipformat);
 	/* clipb type, object kreieren entsprechend etc. */
 	return OLE_OK;




More information about the wine-cvs mailing list