general: fix incorrect conversions
This commit is contained in:
parent
9edd6d3198
commit
580f7f2ff1
4 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@ Result VfsDirectoryServiceWrapper::CreateFile(const std::string& path_, u64 size
|
|||
return FileSys::ERROR_PATH_NOT_FOUND;
|
||||
}
|
||||
|
||||
FileSys::EntryType entry_type;
|
||||
FileSys::EntryType entry_type{};
|
||||
if (GetEntryType(&entry_type, path) == ResultSuccess) {
|
||||
return FileSys::ERROR_PATH_ALREADY_EXISTS;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue