aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-25 09:18:31 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-25 09:18:31 +0000
commitf8b240d7dbaf90cf9d53df0a82153ed731918c29 (patch)
tree63bb8d952c3a1f6fa773d00e17cae004bcd4125d
parent18263c857f150b630e8e99e884907742e3878c44 (diff)
fixed stupid allocation bug
svn path=/trunk/externals/zexy/; revision=3085
-rw-r--r--src/fifop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fifop.c b/src/fifop.c
index d8617ee..f246bfc 100644
--- a/src/fifop.c
+++ b/src/fifop.c
@@ -75,7 +75,7 @@ static t_fifop_prioritylist*fifop_genprioritylist(t_fifop*x, t_float priority)
dummy=result; /* dummy points to the FIFO-before the one we want to insert */
}
/* create a new priority list */
- result = (t_fifop_prioritylist*)getbytes(sizeof( t_fifop_prioritylist*));
+ result = (t_fifop_prioritylist*)getbytes(sizeof( t_fifop_prioritylist));
result->priority=priority;
result->fifo_start=0;
result->next=0;