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
+1 -1
View File
@@ -27,7 +27,7 @@ namespace love
{
namespace filesystem
{
FileData::FileData(int size, const std::string & filename)
FileData::FileData(unsigned int size, const std::string & filename)
: data(new char[size]), size(size), filename(filename)
{
if (filename.rfind('.') != std::string::npos)