Fix compiler warnings

This commit is contained in:
kichikuou
2019-09-16 11:00:31 +09:00
parent 3c0fe94460
commit 75d328f015
5 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -361,7 +361,7 @@ void NACT::cmd_open_menu()
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}
@@ -565,7 +565,7 @@ top2:
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}
@@ -753,7 +753,7 @@ top2:
if(terminate) {
return;
}
if(val = get_key()) {
if((val = get_key())) {
SDL_Delay(100);
break;
}
@@ -1435,7 +1435,7 @@ void NACT::cmd_z()
switch (crc32) {
case CRC32_INTRUDER:
if(cmd == 1 && 1 <= param && param <= 4) {
char* buf[4] = {"<", "∧", ">", "∨"};
const char* buf[4] = {"<", "∧", ">", "∨"};
// 矢印を消去する
if(map_page) {