diff --git a/src/test-map.cc b/src/test-map.cc index 861166ef6..34070c82d 100644 --- a/src/test-map.cc +++ b/src/test-map.cc @@ -244,7 +244,7 @@ main (int argc, char **argv) { hb_hashmap_t m; char c_str[] = "Test"; - hb_bytes_t bytes (c_str, 4); + hb_bytes_t bytes (c_str); m.set (1, bytes); assert (m.has (1));