[PATCH 20/21] dlls/olesvr32: enable compilation with long types

Eric Pouech eric.pouech at gmail.com
Wed Feb 16 01:12:40 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/olesvr32/Makefile.in   |    1 -
 dlls/olesvr32/olesvr_main.c |   16 ++++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dlls/olesvr32/Makefile.in b/dlls/olesvr32/Makefile.in
index 5efc297a7aa..0cea1ad4654 100644
--- a/dlls/olesvr32/Makefile.in
+++ b/dlls/olesvr32/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = olesvr32.dll
 IMPORTLIB = olesvr32
 
diff --git a/dlls/olesvr32/olesvr_main.c b/dlls/olesvr32/olesvr_main.c
index 0ca83ba86e7..e977a7765ee 100644
--- a/dlls/olesvr32/olesvr_main.c
+++ b/dlls/olesvr32/olesvr_main.c
@@ -134,7 +134,7 @@ static LONG OLE_current_handle;
  */
 OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
 {
-    FIXME("(%d): stub\n",hServer);
+    FIXME("(%ld): stub\n",hServer);
     return OLE_OK;
 }
 
@@ -143,7 +143,7 @@ OLESTATUS WINAPI OleBlockServer(LHSERVER hServer)
  */
 OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
 {
-    FIXME("(%d): stub\n",hServer);
+    FIXME("(%ld): stub\n",hServer);
     /* no more blocked messages :) */
     *block=FALSE;
     return OLE_OK;
@@ -154,7 +154,7 @@ OLESTATUS WINAPI OleUnblockServer(LHSERVER hServer, BOOL *block)
  */
 OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC hServerDoc)
 {
-    FIXME("(%d): stub\n",hServerDoc);
+    FIXME("(%ld): stub\n",hServerDoc);
     return OLE_OK;
 }
 
@@ -174,7 +174,7 @@ OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
                                          LPOLESERVERDOC document,
                                          LHSERVERDOC *hRet)
 {
-    FIXME("(%d,%s): stub\n", hServer, docname);
+    FIXME("(%ld,%s): stub\n", hServer, docname);
     *hRet=++OLE_current_handle;
     return OLE_OK;
 }
@@ -185,7 +185,7 @@ OLESTATUS WINAPI OleRegisterServerDoc( LHSERVER hServer, LPCSTR docname,
  */
 OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
 {
-    FIXME("(%d,%s): stub.\n",hDoc, newName);
+    FIXME("(%ld,%s): stub.\n",hDoc, newName);
     return OLE_OK;
 }
 
@@ -195,7 +195,7 @@ OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC hDoc, LPCSTR newName)
  */
 OLESTATUS WINAPI OleRevertServerDoc(LHSERVERDOC hDoc)
 {
-    FIXME("(%d): stub.\n", hDoc);
+    FIXME("(%ld): stub.\n", hDoc);
     return OLE_OK;
 }
 
@@ -205,7 +205,7 @@ OLESTATUS WINAPI OleRevertServerDoc(LHSERVERDOC hDoc)
  */
 OLESTATUS WINAPI OleSavedServerDoc(LHSERVERDOC hDoc)
 {
-    FIXME("(%d): stub.\n", hDoc);
+    FIXME("(%ld): stub.\n", hDoc);
     return OLE_OK;
 }
 
@@ -215,6 +215,6 @@ OLESTATUS WINAPI OleSavedServerDoc(LHSERVERDOC hDoc)
  */
 OLESTATUS WINAPI OleRevokeServer(LHSERVER hServer)
 {
-    FIXME("(%d): stub.\n", hServer);
+    FIXME("(%ld): stub.\n", hServer);
     return OLE_OK;
 }




More information about the wine-devel mailing list