mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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