Mercurial > otakunoraifu
diff scn2k/scn2k_cmd.cc @ 47:5f548e5957a8
* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author | thib |
---|---|
date | Wed, 15 Apr 2009 20:26:32 +0000 |
parents | a85cdca1980a |
children | 15a18fbe6f21 |
line wrap: on
line diff
--- a/scn2k/scn2k_cmd.cc +++ b/scn2k/scn2k_cmd.cc @@ -721,7 +721,7 @@ int Cmd::GetLeftToken(const char*& d, Va return value; } -static char* op_str[70] = { +static const char* op_str[70] = { // 0 1 2 3 4 5 6 7 8 9 "+", "-", "*", "/", "%", "&", "|", "^", "<<", ">>", // +00 "err.","err.","err.","err.","err.","err.","err.","err.","err.","err.", // +10