fix Wall warning

This commit is contained in:
kuoi 2023-03-20 22:05:49 +08:00
parent 55f0e78d36
commit 9ed9f85b82

View file

@ -66,7 +66,7 @@ int read_tnt() {
void add_space (char x) { void add_space (char x) {
int i = 0; int i = 0;
string winclada; string winclada;
for (i=0; i<tnt_format.length(); i++) { for (i=0; i<(int)tnt_format.length(); i++) {
if (tnt_format[i] != x) { if (tnt_format[i] != x) {
winclada=winclada+tnt_format[i]; winclada=winclada+tnt_format[i];
} else { } else {