X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/603c9c6d30d790ebe838ae858aeb1b365e06fef0..82c7b420703e0fe842d38cc571a260a8494d7bc2:/test/test-weof.cpp diff --git a/test/test-weof.cpp b/test/test-weof.cpp index ffe0a88..589df4a 100644 --- a/test/test-weof.cpp +++ b/test/test-weof.cpp @@ -33,7 +33,7 @@ eventxx::event< cb_t >* ev; void write_cb(int fd, short event) { - char *test = "test string"; + const char* test = "test string"; int len; len = write(fd, test, strlen(test) + 1);