]> git.llucax.com Git - software/eventxx.git/blobdiff - test/test-weof.cpp
README: Add warning about project being abandoned
[software/eventxx.git] / test / test-weof.cpp
index ffe0a8885d62149c4d628dedfd161f8df5889e7d..589df4aeea184f9f2cefcfb559d2d8a90c35b1a9 100644 (file)
@@ -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);