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