X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/74dd493396de3a10431274f3a96f660b7eb7483c..a40aa4e85b7652886bda0669191a2185bfcbfc2d:/test/test-eof.cpp?ds=sidebyside diff --git a/test/test-eof.cpp b/test/test-eof.cpp index 4b30013..c1c05db 100644 --- a/test/test-eof.cpp +++ b/test/test-eof.cpp @@ -50,7 +50,7 @@ read_cb(int fd, short event, void *arg) int main (int argc, char **argv) { - char *test = "test string"; + const char* test = "test string"; int pair[2]; if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)