diff options
Diffstat (limited to 'src/test-repacker.cc')
-rw-r--r-- | src/test-repacker.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test-repacker.cc b/src/test-repacker.cc index 94ff0849a..cd8789f1b 100644 --- a/src/test-repacker.cc +++ b/src/test-repacker.cc @@ -35,7 +35,7 @@ static void extend (const char* value, hb_serialize_context_t* c) { char* obj = c->allocate_size<char> (len); - hb_memcpy (obj, value, len); + memcpy (obj, value, len); } static void start_object(const char* tag, @@ -1476,7 +1476,6 @@ static void test_sort_shortest () graph_t graph (c.object_graph ()); graph.sort_shortest_distance (); - assert (!graph.in_error ()); assert(strncmp (graph.object (4).head, "abc", 3) == 0); assert(graph.object (4).real_links.length == 3); |