mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix some more conformance difference related errors/warnings
This commit is contained in:
@ -146,12 +146,12 @@ bool GuidIsNil (const Uuid & uuid) {
|
||||
const wchar * GuidToString (const Uuid & uuid, wchar * dst, unsigned chars) {
|
||||
wchar * src;
|
||||
RPC_STATUS s;
|
||||
s = UuidToStringW( (GUID *) &uuid, &src );
|
||||
s = UuidToStringW( (GUID *) &uuid, (RPC_WSTR*)&src );
|
||||
if (RPC_S_OK == s)
|
||||
StrCopy(dst, src, chars);
|
||||
else
|
||||
StrCopy(dst, L"", chars);
|
||||
RpcStringFreeW(&src);
|
||||
RpcStringFreeW( (RPC_WSTR *)&src );
|
||||
return dst;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user