summaryrefslogtreecommitdiff
path: root/amiga/object.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 11:30:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 11:30:37 +0000
commita54170eeeacd7f5b78c79dd81785e725c983ca98 (patch)
tree60f1a14e91782aa2f343f744b66deef42d9ed211 /amiga/object.c
parent8dc707d554b069d14c33882ed8f156f73ebc7be4 (diff)
downloadnetsurf-a54170eeeacd7f5b78c79dd81785e725c983ca98.tar.gz
netsurf-a54170eeeacd7f5b78c79dd81785e725c983ca98.tar.bz2
Tidy up debug and increase list allocation to aid debugging
Diffstat (limited to 'amiga/object.c')
-rwxr-xr-xamiga/object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/object.c b/amiga/object.c
index 99f359ad1..f071cceb8 100755
--- a/amiga/object.c
+++ b/amiga/object.c
@@ -34,7 +34,8 @@ struct MinList *NewObjList(void)
struct MinList *objlist;
- objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList), NULL);
+ objlist = (struct MinList *)AllocVecTagList(sizeof(struct MinList) + 10, NULL);
+#warning List structure allocation is larger than necessary for debugging ^^^^
NewMinList(objlist);