sound.c
branch0.4
changeset 10001 71c820884d70
parent 9959 984493ab6fff
--- a/sound.c	Tue May 02 14:12:19 2006 +0000
+++ b/sound.c	Tue May 02 14:14:04 2006 +0000
@@ -35,7 +35,7 @@
 
 	FioOpenFile(SOUND_SLOT, filename);
 	count = FioReadDword() / 8;
-	fe = calloc(sizeof(*fe), count);
+	fe = calloc(count, sizeof(*fe));
 
 	if (fe == NULL) {
 		_file_count = 0;