(svn r4674) - Codechange: use correct parameter order for allocating sound file memory

This commit is contained in:
peter1138 2006-05-02 13:35:23 +00:00
parent b1f436df59
commit 73b718a667
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static void OpenBankFile(const char *filename)
FioOpenFile(SOUND_SLOT, filename);
count = FioReadDword() / 8;
fe = calloc(sizeof(*fe), count);
fe = calloc(count, sizeof(*fe));
if (fe == NULL) {
_file_count = 0;