fix StatusDescription (remove unnecessary and wrong cast)

This was SVN commit r9489.
This commit is contained in:
janwas 2011-05-08 20:09:31 +00:00
parent cf80b9bb97
commit 452670738a

View File

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