Skip to content

Commit

Permalink
instrtrace.c: gcc 4.9.3 doesn't like a char as argument to
Browse files Browse the repository at this point in the history
  • Loading branch information
damiendoligez committed Feb 1, 2016
1 parent 5cf41dc commit 8548fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byterun/instrtrace.c
Expand Up @@ -202,7 +202,7 @@ caml_trace_value_file (value v, code_t prog, int proglen, FILE * f)
l = caml_string_length (v);
fprintf (f, "=string[s%dL%d]'", s, l);
for (i = 0; i < ((l>0x1f)?0x1f:l) ; i++) {
if (isprint (Byte (v, i)))
if (isprint ((int) Byte (v, i)))
putc (Byte (v, i), f);
else
putc ('?', f);
Expand Down

0 comments on commit 8548fc0

Please sign in to comment.