Fix dereferencing strings.

This commit is contained in:
2021-03-14 18:12:56 +00:00
parent 4b75cd3e71
commit b1f7226cfa
17 changed files with 110 additions and 110 deletions

View File

@@ -99,8 +99,8 @@ void Timestamps(const char* path)
if(!rc)
{
memset(&message, 0, 300);
sprintf((char*)message, DATETIME_FORMAT, mac_times[i].message, mac_times[i].type);
memset(message, 0, 300);
sprintf(message, DATETIME_FORMAT, mac_times[i].message, mac_times[i].type);
count = strlen(message);
wRc = FSWrite(refFile, &count, message);
cRc = FSClose(refFile);