Fix some printf like functions

This commit is contained in:
herman ten brugge
2020-05-05 09:00:24 +02:00
parent 8370bc03a1
commit 29ba50da29
5 changed files with 12 additions and 9 deletions

View File

@@ -3150,7 +3150,7 @@ static int paste_tokens(int t1, CValue *v1, int t2, CValue *v2)
if (is_space(tok))
continue;
tcc_warning("pasting \"%.*s\" and \"%s\" does not give a valid"
" preprocessing token", n, cstr.data, (char*)cstr.data + n);
" preprocessing token", n, (char *)cstr.data, (char*)cstr.data + n);
ret = 0;
break;
}