ENGINES: Don't use unsafe strcat and strcpy
This commit is contained in:
parent
3aa220fdb4
commit
7948a2820f
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ void MetaEngine::appendExtendedSaveToStream(Common::WriteStream *saveFile, uint3
|
||||||
|
|
||||||
uint headerPos = saveFile->pos() + posoffset;
|
uint headerPos = saveFile->pos() + posoffset;
|
||||||
|
|
||||||
strcpy(header.id, "SVMCR");
|
Common::strcpy_s(header.id, "SVMCR");
|
||||||
header.version = EXTENDED_SAVE_VERSION;
|
header.version = EXTENDED_SAVE_VERSION;
|
||||||
|
|
||||||
TimeDate curTime;
|
TimeDate curTime;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue