diff --git a/mhook-test/mhook-test.cpp b/mhook-test/mhook-test.cpp index 06c0b2d..9873aae 100644 --- a/mhook-test/mhook-test.cpp +++ b/mhook-test/mhook-test.cpp @@ -188,7 +188,7 @@ int wmain(int argc, WCHAR* argv[]) // in this context anyway. WSADATA wd = {0}; WSAStartup(MAKEWORD(2, 2), &wd); - char* ip = "localhost"; + const char* ip = "localhost"; struct addrinfo aiHints; struct addrinfo *res = NULL; memset(&aiHints, 0, sizeof(aiHints));