Eric Pouech : mprapi: Enable compilation with long types.

Alexandre Julliard julliard at winehq.org
Mon Feb 14 15:41:29 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Mon Feb 14 09:28:26 2022 +0100

mprapi: 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/mprapi/Makefile.in | 1 -
 dlls/mprapi/mprapi.c    | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/mprapi/Makefile.in b/dlls/mprapi/Makefile.in
index fe164b39429..c97e316deb5 100644
--- a/dlls/mprapi/Makefile.in
+++ b/dlls/mprapi/Makefile.in
@@ -1,4 +1,3 @@
-EXTRADEFS = -DWINE_NO_LONG_TYPES
 MODULE    = mprapi.dll
 IMPORTLIB = mprapi
 
diff --git a/dlls/mprapi/mprapi.c b/dlls/mprapi/mprapi.c
index b3d641fe108..8af9ebf0152 100644
--- a/dlls/mprapi/mprapi.c
+++ b/dlls/mprapi/mprapi.c
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mprapi);
  */
 DWORD APIENTRY MprAdminGetErrorString(DWORD mprerror, LPWSTR *localstr)
 {
-    FIXME("(0x%x/%u, %p): stub!\n", mprerror, mprerror, localstr);
+    FIXME("(0x%lx/%lu, %p): stub!\n", mprerror, mprerror, localstr);
 
     *localstr = NULL;
     return ERROR_MR_MID_NOT_FOUND;




More information about the wine-cvs mailing list