- Fixed: SDL/i_system.cpp should use a return type for strrchr that has the same

constness as its first parameter. (As some GCCs will actually check this, I guess.)

SVN r1696 (trunk)
This commit is contained in:
Randy Heit 2009-06-30 23:26:03 +00:00
parent f2b7417020
commit 7d4c21b167

View file

@ -520,7 +520,7 @@ void *I_FindFirst (const char *filespec, findstate_t *fileinfo)
{
FString dir;
char *slash = strrchr (filespec, '/');
const char *slash = strrchr (filespec, '/');
if (slash)
{
pattern = slash+1;