From 03f7cf73d65e11683954a7b9004ddfd3e910eaff Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Wed, 11 Jan 2023 23:21:34 +0530
Subject: [PATCH] headers: Add missing const qualifier in rpcdce.h

Fixes https://github.com/mingw-w64/mingw-w64/issues/22

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/rpcdce.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mingw-w64-headers/include/rpcdce.h 
b/mingw-w64-headers/include/rpcdce.h
index 5c0af03..81fc29b 100644
--- a/mingw-w64-headers/include/rpcdce.h
+++ b/mingw-w64-headers/include/rpcdce.h
@@ -506,9 +506,9 @@ extern "C" {
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void *Thread,__LONG32 
Timeout);
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreateSequential(UUID *Uuid);
-  RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringA(UUID *Uuid,RPC_CSTR *StringUuid);
+  RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringA(const UUID *Uuid,RPC_CSTR 
*StringUuid);
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidFromStringA(RPC_CSTR StringUuid,UUID 
*Uuid);
-  RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringW(UUID *Uuid,RPC_WSTR *StringUuid);
+  RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringW(const UUID *Uuid,RPC_WSTR 
*StringUuid);
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidFromStringW(RPC_WSTR StringUuid,UUID 
*Uuid);
   RPCRTAPI signed int RPC_ENTRY UuidCompare(UUID *Uuid1,UUID *Uuid2,RPC_STATUS 
*Status);
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreateNil(UUID *NilUuid);
-- 
2.39.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to