From 73b718a667e033f49d76d7673fa2d4d67178a5df Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 2 May 2006 13:35:23 +0000 Subject: [PATCH] (svn r4674) - Codechange: use correct parameter order for allocating sound file memory --- sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound.c b/sound.c index 30898cdaf6..8a487ca91e 100644 --- a/sound.c +++ b/sound.c @@ -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;