safe compile .

This commit is contained in:
Zero Fanker 2024-04-25 22:12:25 -04:00
parent 00753d2ff2
commit d1a32df54b
3 changed files with 6 additions and 6 deletions

View file

@ -78,7 +78,7 @@ inline CString GetUnitPictureFilename(LPCTSTR lpUnitName, DWORD dwPicIndex)
}
char n[50];
itoa(dwPicIndex, n, 10);
_itoa_s(dwPicIndex, n, 10);
if (pics.find(artname + n) != pics.end()) {