test/buffer_tests.c

changeset 71
303dabadff1c
parent 69
fb59270b1de3
child 76
655020a30e77
     1.1 --- a/test/buffer_tests.c	Fri Oct 12 10:54:55 2012 +0200
     1.2 +++ b/test/buffer_tests.c	Fri Oct 12 12:08:34 2012 +0200
     1.3 @@ -123,7 +123,7 @@
     1.4      UCX_TEST_ASSERT(ucx_buffer_eof(b), "eof shall be set");
     1.5  
     1.6      ucx_buffer_seek(b, 8, SEEK_SET);
     1.7 -    r = ucx_buffer_write("not", 1, 3, b);
     1.8 +    r = ucx_buffer_write((void*)"not", 1, 3, b);
     1.9      UCX_TEST_ASSERT(r == 3, "three bytes should be replace");
    1.10      UCX_TEST_ASSERT(memcmp(buffer, "this is not too much", 16) == 0,
    1.11              "modified buffer is incorrect");

mercurial