mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user