X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/74dd493396de3a10431274f3a96f660b7eb7483c..HEAD:/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);