1
0
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:
2011-04-07 15:09:09 -07:00
parent 8b74d71d1f
commit 37a87f3b54
4 changed files with 13 additions and 10 deletions

View File

@ -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;
}