Mercurial > otakunoraifu
comparison 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 |
comparison
equal
deleted
inserted
replaced
46:3aa3d244ad90 | 47:5f548e5957a8 |
---|---|
719 info.value = value; | 719 info.value = value; |
720 } | 720 } |
721 return value; | 721 return value; |
722 } | 722 } |
723 | 723 |
724 static char* op_str[70] = { | 724 static const char* op_str[70] = { |
725 // 0 1 2 3 4 5 6 7 8 9 | 725 // 0 1 2 3 4 5 6 7 8 9 |
726 "+", "-", "*", "/", "%", "&", "|", "^", "<<", ">>", // +00 | 726 "+", "-", "*", "/", "%", "&", "|", "^", "<<", ">>", // +00 |
727 "err.","err.","err.","err.","err.","err.","err.","err.","err.","err.", // +10 | 727 "err.","err.","err.","err.","err.","err.","err.","err.","err.","err.", // +10 |
728 "+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>=", // +20 | 728 "+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>=", // +20 |
729 "=", "err.","err.","err.","err.","err.","err.","err.","err.","err.", // +30 | 729 "=", "err.","err.","err.","err.","err.","err.","err.","err.","err.", // +30 |