compat fixes for libnx master

This commit is contained in:
Michael Scire 2019-11-28 22:19:39 -08:00 committed by SciresM
parent 4f9838df3c
commit b1a9e8d0df
6 changed files with 20 additions and 20 deletions

View file

@ -30,7 +30,7 @@ namespace ams::util::ini {
size_t num_left;
explicit FsFileContext(FsFile *f) : f(f), offset(0) {
u64 size;
s64 size;
R_ASSERT(fsFileGetSize(this->f, &size));
this->num_left = size_t(size);
}