mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- 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:
parent
f2b7417020
commit
7d4c21b167
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue