Skip to content

Commit

Permalink
Another FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 24, 2012
1 parent 14d723c commit b2e6882
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/physfs.c
Expand Up @@ -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;

Expand Down

0 comments on commit b2e6882

Please sign in to comment.