mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-06 03:46:29 +08:00
Brutally replace all reinterpret_casts with static_casts
This commit is contained in:
@@ -49,7 +49,7 @@ StreamChunker::sendFile(
|
||||
{
|
||||
s_isChunkingFile = true;
|
||||
|
||||
std::fstream file(reinterpret_cast<char*>(filename), std::ios::in | std::ios::binary);
|
||||
std::fstream file(static_cast<char*>(filename), std::ios::in | std::ios::binary);
|
||||
|
||||
if (!file.is_open()) {
|
||||
throw runtime_error("failed to open file");
|
||||
|
||||
Reference in New Issue
Block a user