Replace useless reinterpret_cast by static_cast

Former-commit-id: f61d644d968d4fe9523a5cd122e11525a9c2765d
This commit is contained in:
Lynix
2016-04-07 04:20:18 +02:00
parent 9efed23cbc
commit a31a969409
17 changed files with 42 additions and 42 deletions

View File

@@ -87,12 +87,12 @@ namespace Nz
wchar_t* buffer = nullptr;
FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_IGNORE_INSERTS,
nullptr,
code,
0,
reinterpret_cast<LPWSTR>(&buffer),
0,
nullptr);
nullptr,
code,
0,
reinterpret_cast<LPWSTR>(&buffer),
0,
nullptr);
String error(String::Unicode(buffer));
LocalFree(buffer);