fix StatusDescription (remove unnecessary and wrong cast)
This was SVN commit r9489.
This commit is contained in:
parent
cf80b9bb97
commit
452670738a
@ -85,7 +85,7 @@ wchar_t* StatusDescription(Status status, wchar_t* buf, size_t max_chars)
|
||||
return buf;
|
||||
}
|
||||
|
||||
swprintf_s(buf, max_chars, L"Unknown error (%lld, 0x%llX)", status, (unsigned int)status);
|
||||
swprintf_s(buf, max_chars, L"Unknown error (%lld, 0x%llX)", status, status);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user