fix warning in client_test

This commit is contained in:
Arvid Norberg 2008-06-30 08:45:44 +00:00
parent 0e1d2ede70
commit e1bedea35d
1 changed files with 1 additions and 1 deletions

View File

@ -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";