mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-09 01:56:35 -05:00
Linux/MacOSX: solve compilation warning by explicitly converting wxCStrData to (const wchar_t*)
This commit is contained in:
1 parent
2c6e9fc15c
commit
f1a596109b
1 file changed
+2
-2
@@ -764,8 +764,8 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
ShowString (wxString::Format (L"\rDone: %7.3f%% Speed: %9s Left: %s ",
|
ShowString (wxString::Format (L"\rDone: %7.3f%% Speed: %9s Left: %s ",
|
||||||
100.0 - double (options->Size - progress.SizeDone) / (double (options->Size) / 100.0),
|
100.0 - double (options->Size - progress.SizeDone) / (double (options->Size) / 100.0),
|
||||||
speed > 0 ? SpeedToString (speed).c_str() : L" ",
|
speed > 0 ? (const wchar_t*) SpeedToString (speed).c_str() : L" ",
|
||||||
speed > 0 ? TimeSpanToString ((options->Size - progress.SizeDone) / speed).c_str() : L""));
|
speed > 0 ? (const wchar_t*) TimeSpanToString ((options->Size - progress.SizeDone) / speed).c_str() : L""));
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread::Sleep (100);
|
Thread::Sleep (100);
|
||||||
|
|||||||
Reference in new issue
Block a user