aboutsummaryrefslogtreecommitdiff
path: root/vector.inc.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-11 01:34:40 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-15 20:03:43 +0100
commit60c7d789ce21cb77bdf9dd2c8cb22e86232d903f (patch)
tree45a2995340c1f2c2891369eb3ec5e2c6aae7b87c /vector.inc.h
parentReplace key_val type with templatized PAIR(T, V). (diff)
downloadcalp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.gz
calp-60c7d789ce21cb77bdf9dd2c8cb22e86232d903f.tar.xz
Rewrote content_line, and how parameters are stored.
Diffstat (limited to 'vector.inc.h')
-rw-r--r--vector.inc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vector.inc.h b/vector.inc.h
index 68f302cd..f6d1c796 100644
--- a/vector.inc.h
+++ b/vector.inc.h
@@ -7,7 +7,7 @@
INIT_F(VECT(TYPE)) {
this->length = 0;
- this->alloc = 0x10;
+ this->alloc = 1;
this->items = calloc(sizeof(*this->items), this->alloc);
return 0;
}