Diff of /ArrayList.c [68f0f9] .. [926f16]  Maximize  Restore

  Switch to side-by-side view

--- a/ArrayList.c
+++ b/ArrayList.c
@@ -20,7 +20,7 @@
 ArrayList* ArrayList_new(int dim, void* deletefn)
 {
     ArrayList* self = ArrayList_new0(deletefn);
-    self->count = 0;
+    self->count = dim;
     self->reserved = dim;
     self->items = (void**)malloc(self->reserved * sizeof(void*));
     int index;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks