mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
fix cc warning on 32-bit arch
This commit is contained in:
parent
992544d051
commit
e6229a7f65
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ sexp json_write_flonum(sexp ctx, sexp self, const sexp obj, sexp out) {
|
||||||
|
|
||||||
sexp json_write_string(sexp ctx, sexp self, const sexp obj, sexp out) {
|
sexp json_write_string(sexp ctx, sexp self, const sexp obj, sexp out) {
|
||||||
char cout[32]; /* oversized to avoid snprintf warnings */
|
char cout[32]; /* oversized to avoid snprintf warnings */
|
||||||
sexp_uint_t ch, chh, chl;
|
unsigned long ch, chh, chl;
|
||||||
sexp i, end = sexp_make_string_cursor(sexp_string_size(obj));
|
sexp i, end = sexp_make_string_cursor(sexp_string_size(obj));
|
||||||
|
|
||||||
sexp_write_char(ctx, '"', out);
|
sexp_write_char(ctx, '"', out);
|
||||||
|
|
Loading…
Add table
Reference in a new issue