mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
Fix printf warning in json.c
This commit is contained in:
parent
9901a67b20
commit
c251594f0a
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ sexp unparse_json_string(sexp ctx, sexp self, const sexp obj) {
|
|||
sprintf(cout, "\\t");
|
||||
break;
|
||||
default:
|
||||
sprintf(cout, "%c", ch);
|
||||
sprintf(cout, "%c", (int)ch);
|
||||
break;
|
||||
}
|
||||
} else if(ch <= 0xFFFF) {
|
||||
|
|
Loading…
Add table
Reference in a new issue