Skip to content
Permalink
Browse files
Another FIXME.
  • Loading branch information
icculus committed Mar 24, 2012
1 parent 14d723c commit b2e6882f52391ea7a0a0d7a640c0d49c3c29f3c4
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/physfs.c
@@ -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;

0 comments on commit b2e6882

Please sign in to comment.