--- a/test/buffer_tests.c Fri Oct 12 10:54:55 2012 +0200 +++ b/test/buffer_tests.c Fri Oct 12 12:08:34 2012 +0200 @@ -123,7 +123,7 @@ UCX_TEST_ASSERT(ucx_buffer_eof(b), "eof shall be set"); ucx_buffer_seek(b, 8, SEEK_SET); - r = ucx_buffer_write("not", 1, 3, b); + r = ucx_buffer_write((void*)"not", 1, 3, b); UCX_TEST_ASSERT(r == 3, "three bytes should be replace"); UCX_TEST_ASSERT(memcmp(buffer, "this is not too much", 16) == 0, "modified buffer is incorrect");