summaryrefslogtreecommitdiffstats
path: root/src/sord_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-04-14 17:32:49 +0200
committerDavid Robillard <d@drobilla.net>2017-04-14 17:32:49 +0200
commit497c15e47470a9562f9e41bc045c0503cffa7569 (patch)
tree72b2199f80cb687c8bc87bfe00c9aa71415e8f19 /src/sord_test.c
parent24ab5bbeb0dece32887d2702d786b76a877d0f59 (diff)
downloadsord-497c15e47470a9562f9e41bc045c0503cffa7569.tar.gz
sord-497c15e47470a9562f9e41bc045c0503cffa7569.tar.bz2
sord-497c15e47470a9562f9e41bc045c0503cffa7569.zip
Fix missing NULL terminator in literal test
Diffstat (limited to 'src/sord_test.c')
-rw-r--r--src/sord_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sord_test.c b/src/sord_test.c
index e9cc6ff..189edb0 100644
--- a/src/sord_test.c
+++ b/src/sord_test.c
@@ -535,7 +535,7 @@ main(int argc, char** argv)
sord_num_nodes(world), initial_num_nodes);
}
- const uint8_t ni_hao[] = { 0xE4, 0xBD, 0xA0, 0xE5, 0xA5, 0xBD };
+ const uint8_t ni_hao[] = { 0xE4, 0xBD, 0xA0, 0xE5, 0xA5, 0xBD, 0 };
SordNode* chello = sord_new_literal(world, NULL, ni_hao, "cmn");
// Test literal length