Fix some warnings from newer compilers

This commit is contained in:
Justin Maggard
2020-09-25 17:48:07 -07:00
committed by Justin Maggard
parent 9fba41008a
commit 9f1677825c
10 changed files with 35 additions and 22 deletions

View File

@ -172,7 +172,7 @@ _get_dfffileinfo(char *file, struct song_metadata *psong)
count += 4;
cmprckDataSize = GET_DFF_INT64(propckData + count);
count += 8;
strncpy((char*)compressionType, (char*)propckData + count, 4);
memcpy(compressionType, propckData + count, 4);
count += cmprckDataSize;
}
else if (strncmp((char*)propckData + count, "ABSS", 4) == 0)