mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Merge pull request #652 from lassik/fix-printf
Fix printf warning in json.c
This commit is contained in:
commit
add9983728
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