Some minor FIXME tweaks.

This commit is contained in:
Ryan C. Gordon 2010-08-21 15:07:13 -04:00
parent 51a22c576e
commit 8b0988a038
2 changed files with 1 additions and 2 deletions

View File

@ -2134,6 +2134,7 @@ int PHYSFS_setBuffer(PHYSFS_File *handle, PHYSFS_uint64 _bufsize)
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);
bufsize = (PHYSFS_uint32) _bufsize;

View File

@ -292,12 +292,10 @@ static int findApiSymbols(void)
if (dll != NULL)
LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);
/* !!! FIXME: what do they call advapi32.dll on Win64? */
dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
if (dll != NULL)
LOOKUP(GetUserNameW, osHasUnicode);
/* !!! FIXME: what do they call kernel32.dll on Win64? */
dll = libKernel32 = LoadLibraryA("kernel32.dll");
if (dll != NULL)
{