diff options
author | p0358 <p0358@users.noreply.github.com> | 2021-12-30 04:23:08 +0100 |
---|---|---|
committer | p0358 <p0358@users.noreply.github.com> | 2021-12-30 04:23:08 +0100 |
commit | ac054ab2dc1370981258cafb175250142844260d (patch) | |
tree | da4edebe79fb08c62e2a407448c4caaee6cf6bf2 /NorthstarDedicatedTest/filesystem.cpp | |
parent | 893a78932c201978c329e2806869524c1d5f8456 (diff) | |
download | NorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.tar.gz NorthstarLauncher-ac054ab2dc1370981258cafb175250142844260d.zip |
fix various random warnings
Diffstat (limited to 'NorthstarDedicatedTest/filesystem.cpp')
-rw-r--r-- | NorthstarDedicatedTest/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/filesystem.cpp b/NorthstarDedicatedTest/filesystem.cpp index 89eb9423..1fe3ec9d 100644 --- a/NorthstarDedicatedTest/filesystem.cpp +++ b/NorthstarDedicatedTest/filesystem.cpp @@ -57,7 +57,7 @@ std::string ReadVPKFile(const char* path) char data[4096]; do { - bytesRead = (*g_Filesystem)->m_vtable2->Read(&(*g_Filesystem)->m_vtable2, data, std::size(data), fileHandle); + bytesRead = (*g_Filesystem)->m_vtable2->Read(&(*g_Filesystem)->m_vtable2, data, (int)std::size(data), fileHandle); fileStream.write(data, bytesRead); } while (bytesRead == std::size(data)); |