From c3302735085becc164e0f3ab828520586ec2ee74 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Tue, 4 Jul 2023 21:12:53 +0200 Subject: [PATCH] Set correct return type for 'IFileSystem::CreateDirHierarchy' Returns a 32bit int from the internal call to 'mkdir'. --- r5dev/public/ifilesystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/public/ifilesystem.h b/r5dev/public/ifilesystem.h index a025c6c0..45a6cbe1 100644 --- a/r5dev/public/ifilesystem.h +++ b/r5dev/public/ifilesystem.h @@ -260,7 +260,7 @@ public: //-------------------------------------------------------- virtual void RemoveFile(char const* pRelativePath, const char* pathID = 0) = 0; // Deletes a file (on the WritePath) virtual bool RenameFile(char const* pOldPath, char const* pNewPath, const char* pathID = 0) = 0; // Renames a file (on the WritePath) - virtual void CreateDirHierarchy(const char* path, const char* pathID = 0) = 0; // create a local directory structure + virtual int CreateDirHierarchy(const char* path, const char* pathID = 0) = 0; // create a local directory structure virtual bool IsDirectory(const char* pFileName, const char* pathID = 0) = 0; // File I/O and info virtual void FileTimeToString(char* pStrip, int maxCharsIncludingTerminator, long fileTime) = 0;