aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-12 20:39:23 +0200
committerDavid Robillard <d@drobilla.net>2018-12-31 11:37:47 -0500
commit869e805270479fbce0e5f517890b6458398d781a (patch)
tree032caa6d3071afb8fcb809ad294abba16a8ce613 /src/writer.c
parent2b0e3de607f2b0eca00b3986ecbcd9fe26ecf95d (diff)
downloadserd-869e805270479fbce0e5f517890b6458398d781a.tar.gz
serd-869e805270479fbce0e5f517890b6458398d781a.tar.bz2
serd-869e805270479fbce0e5f517890b6458398d781a.zip
Use fixed size stack
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/writer.c b/src/writer.c
index b694fe5e..65909cdf 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -878,7 +878,7 @@ serd_writer_new(SerdWorld* world,
writer->env = env;
writer->root_node = NULL;
writer->root_uri = SERD_URI_NULL;
- writer->anon_stack = serd_stack_new(4 * sizeof(WriteContext));
+ writer->anon_stack = serd_stack_new(SERD_PAGE_SIZE);
writer->context = context;
writer->list_subj = NULL;
writer->empty = true;