Common: Use Path for GetFileSize().

This commit is contained in:
Unknown W. Brackets committed 2021-05-15 11:11:37 -07:00
1 parent 2558022afe
commit 82cd904e99
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ static Path LocalFromRemotePath(const std::string &path) {
}
static void DiscHandler(const http::Request &request, const Path &filename) {
s64 sz = File::GetFileSize(filename.ToString());
s64 sz = File::GetFileSize(filename);
std::string range;
if (request.Method() == http::RequestHeader::HEAD) {