From e1bedea35db76bb016314d0d85017a920d17974b Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 30 Jun 2008 08:45:44 +0000 Subject: [PATCH] fix warning in client_test --- examples/client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 2d1b43619..d7477eeb8 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1415,7 +1415,7 @@ int main(int ac, char* av[]) else out << " "; #endif } - char* piece_state[4] = {"", "slow", "medium", "fast"}; + char const* piece_state[4] = {"", "slow", "medium", "fast"}; out << "] " << piece_state[i->piece_state]; if (cp) out << (i->piece_state > 0?" | ":"") << "cache age: " << (total_milliseconds(time_now() - cp->last_use) / 1000.f); out << "\n";