mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 02:51:27 +00:00
Fix a cast error and check UUID size.
This commit is contained in:
@ -977,7 +977,7 @@ void NetVaultNodeFieldArray::GetFieldValueString_LCS (
|
||||
case NetVaultNode::kUuid_2:
|
||||
case NetVaultNode::kUuid_3:
|
||||
case NetVaultNode::kUuid_4: {
|
||||
plString tmp = plUUID((char*)fieldAddr).AsString();
|
||||
plString tmp = reinterpret_cast<plUUID*>(fieldAddr)->AsString();
|
||||
|
||||
StrPrintf(dst, dstChars, L"hextoraw('%s')", tmp.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user