1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

More picky compiler / standards fixes

This commit is contained in:
2011-04-06 20:21:21 -07:00
parent 694a060545
commit a6b57de65d
9 changed files with 22 additions and 18 deletions

View File

@ -66,7 +66,7 @@ void plNetClientRecorder::IMakeFilename(const char* recName, char* path)
CreateDirectory(path, NULL);
#endif
char* lastDot = strrchr(recName, '.');
const char* lastDot = strrchr(recName, '.');
if (lastDot)
strncat(path, recName, lastDot-recName);
else