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:
Bill Meltsner
2011-12-22 02:45:11 -06:00
parent ce682a45c6
commit 7378a90101
8 changed files with 65 additions and 49 deletions
+2 -2
View File
@@ -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();