Another FIXME.

This commit is contained in:
Ryan C. Gordon 2012-03-24 00:32:22 -04:00
parent 14d723c316
commit b2e6882f52
1 changed files with 1 additions and 2 deletions

View File

@ -2507,9 +2507,8 @@ int PHYSFS_setBuffer(PHYSFS_File *handle, PHYSFS_uint64 _bufsize)
FileHandle *fh = (FileHandle *) handle;
PHYSFS_uint32 bufsize;
/* !!! FIXME: Unlocalized string. */
/* !!! FIXME: actually, why use 32 bits here? */
//BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
/*BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);*/
BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, PHYSFS_ERR_INVALID_ARGUMENT, 0);
bufsize = (PHYSFS_uint32) _bufsize;