[crypt32 2/3] Change function declaration to overcome some cast-qual warnings in future patches

Paul Vriens Paul.Vriens at xs4all.nl
Thu Oct 5 06:41:05 CDT 2006


Hi,

I need this function in CryptSIPLoad as well and there the GUID is a const.

Changelog
  Change function declaration to overcome some cast-qual warnings in future
patches

Cheers,

Paul.
---
 dlls/crypt32/sip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/sip.c b/dlls/crypt32/sip.c
index bfd2ab6..36b7483 100644
--- a/dlls/crypt32/sip.c
+++ b/dlls/crypt32/sip.c
@@ -60,7 +60,7 @@ static const WCHAR szDllName[] = { 'D','
 static const WCHAR szFuncName[] = { 'F','u','n','c','N','a','m','e',0 };
 
 /* convert a guid to a wide character string */
-static void CRYPT_guid2wstr( LPGUID guid, LPWSTR wstr )
+static void CRYPT_guid2wstr( const GUID *guid, LPWSTR wstr )
 {
     char str[40];
 
-- 
1.4.2.3




More information about the wine-patches mailing list