test/buffer_tests.c

changeset 185
a48428642b4e
parent 177
11ad03783baf
child 192
1e51558b9d09
--- a/test/buffer_tests.c	Mon Jul 21 13:18:32 2014 +0200
+++ b/test/buffer_tests.c	Mon Jul 28 14:36:25 2014 +0200
@@ -70,7 +70,7 @@
 }
 
 UCX_TEST(test_ucx_buffer_eof) {
-    char *test = "0123456789ABCDEF";
+    char *test = (char*)"0123456789ABCDEF";
     UcxBuffer *b = ucx_buffer_new(test, 16, UCX_BUFFER_DEFAULT);
     UCX_TEST_BEGIN
     b->pos = 9; b->size = 10;

mercurial