Eric Pouech : olecli.dll16: Enable compilation with long types.

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


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

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

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

diff --git a/dlls/olecli.dll16/Makefile.in b/dlls/olecli.dll16/Makefile.in
index deb080b7282..40a2446b61e 100644
--- a/dlls/olecli.dll16/Makefile.in
+++ b/dlls/olecli.dll16/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = olecli.dll16
 IMPORTS   = gdi32
 EXTRADLLFLAGS = -m16 -Wb,--main-module,olecli32.dll
diff --git a/dlls/olecli.dll16/olecli.c b/dlls/olecli.dll16/olecli.c
index 599312e5491..805d9ecee4b 100644
--- a/dlls/olecli.dll16/olecli.c
+++ b/dlls/olecli.dll16/olecli.c
@@ -89,7 +89,7 @@ static LONG OLE_current_handle;
  */
 OLESTATUS WINAPI OleSavedClientDoc16(LHCLIENTDOC hDoc)
 {
-    FIXME("(%d: stub\n", hDoc);
+    FIXME("(%ld: stub\n", hDoc);
     return OLE_OK;
 }
 
@@ -109,7 +109,7 @@ OLESTATUS WINAPI OleRegisterClientDoc16(LPCSTR classname, LPCSTR docname,
  */
 OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
 {
-    FIXME("(%d,%s,...): stub\n",hDoc, newName);
+    FIXME("(%ld,%s,...): stub\n",hDoc, newName);
     return OLE_OK;
 }
 
@@ -118,7 +118,7 @@ OLESTATUS WINAPI OleRenameClientDoc16(LHCLIENTDOC hDoc, LPCSTR newName)
  */
 OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%d): stub\n",hServerDoc);
+    FIXME("(%ld): stub\n",hServerDoc);
     return OLE_OK;
 }
 
@@ -127,7 +127,7 @@ OLESTATUS WINAPI OleRevokeClientDoc16(LHCLIENTDOC hServerDoc)
  */
 OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
 {
-    FIXME("(%d): stub\n", hServerDoc);
+    FIXME("(%ld): stub\n", hServerDoc);
     return OLE_OK;
 }
 
@@ -136,7 +136,7 @@ OLESTATUS WINAPI OleRevertClientDoc16(LHCLIENTDOC hServerDoc)
  */
 OLESTATUS WINAPI OleEnumObjects16(LHCLIENTDOC hServerDoc, SEGPTR data)
 {
-    FIXME("(%d, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
+    FIXME("(%ld, %04x:%04x): stub\n", hServerDoc, HIWORD(data),
 	LOWORD(data));
     return OLE_OK;
 }
@@ -148,7 +148,7 @@ OLESTATUS WINAPI OleCreateLinkFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDO
                                           LPCSTR xname, SEGPTR lpoleob, UINT16 render,
                                           UINT16 clipformat )
 {
-	FIXME("(%s, %04x:%04x, %d, %s, %04x:%04x, %d, %d): stub!\n",
+	FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
               name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
               LOWORD(lpoleob), render, clipformat);
 	return OLE_OK;
@@ -195,7 +195,7 @@ OLESTATUS WINAPI OleCreateFromClip16( LPCSTR name, SEGPTR olecli, LHCLIENTDOC hc
                                       LPCSTR xname, SEGPTR lpoleob,
                                       UINT16 render, UINT16 clipformat )
 {
-	FIXME("(%s, %04x:%04x, %d, %s, %04x:%04x, %d, %d): stub!\n",
+	FIXME("(%s, %04x:%04x, %ld, %s, %04x:%04x, %d, %d): stub!\n",
               name, HIWORD(olecli), LOWORD(olecli), hclientdoc, xname, HIWORD(lpoleob),
               LOWORD(lpoleob), render, clipformat);
 	return OLE_OK;




More information about the wine-cvs mailing list