[PATCH] dlls/combase: use I64 width modifier for 64-bit integers

Eric Pouech eric.pouech at gmail.com
Fri Apr 8 02:12:00 CDT 2022


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

---
 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 c8401fe0cbd0..80760ca37e76 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-devel mailing list