Eric Pouech : combase: Use I64 width modifier for 64-bit integers.

Alexandre Julliard julliard at winehq.org
Mon Apr 11 15:54:58 CDT 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Fri Apr  8 09:12:00 2022 +0200

combase: Use I64 width modifier for 64-bit integers.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/combase/rpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/combase/rpc.c b/dlls/combase/rpc.c
index c8401fe0cbd..80760ca37e7 100644
--- a/dlls/combase/rpc.c
+++ b/dlls/combase/rpc.c
@@ -77,7 +77,7 @@ struct registered_if
 static inline void get_rpc_endpoint(LPWSTR endpoint, const OXID *oxid)
 {
     /* FIXME: should get endpoint from rpcss */
-    wsprintfW(endpoint, L"\\pipe\\OLE_%08lx%08lx", (DWORD)(*oxid >> 32), (DWORD)*oxid);
+    wsprintfW(endpoint, L"\\pipe\\OLE_%016I64x", *oxid);
 }
 
 typedef struct




More information about the wine-cvs mailing list