mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Upgrade love.filesystem to use 64-bit numbers for dealing with file sizes, thus (hopefully) enabling lovers to work with very large files (based on Boolsheet's patch in issue #179)
This commit is contained in:
@@ -38,7 +38,7 @@ namespace filesystem
|
||||
char * data;
|
||||
|
||||
// Size of the data.
|
||||
int size;
|
||||
unsigned int size;
|
||||
|
||||
// The filename used for error purposes.
|
||||
std::string filename;
|
||||
@@ -55,7 +55,7 @@ namespace filesystem
|
||||
DECODE_MAX_ENUM
|
||||
}; // Decoder
|
||||
|
||||
FileData(int size, const std::string & filename);
|
||||
FileData(unsigned int size, const std::string & filename);
|
||||
|
||||
virtual ~FileData();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user