test/map_tests.c

changeset 327
fbc33813265b
parent 259
2f5dea574a75
child 374
be77fb2da242
     1.1 --- a/test/map_tests.c	Wed May 30 11:13:52 2018 +0200
     1.2 +++ b/test/map_tests.c	Thu Jun 21 16:00:37 2018 +0200
     1.3 @@ -39,7 +39,7 @@
     1.4  }
     1.5  
     1.6  UCX_TEST(test_ucx_key) {
     1.7 -    UcxKey key = ucx_key((void*)"This is a text.", 15);
     1.8 +    UcxKey key = ucx_key("This is a text.", 15);
     1.9      UCX_TEST_BEGIN
    1.10      UCX_TEST_ASSERT(strncmp((const char*)key.data, "This is a text.", 15) == 0,
    1.11              "failed");

mercurial