BUILD: buffer: fix another isprint() warning on solaris
This one came with commit recent be0efd8. Solaris wants ints, not chars.
diff --git a/src/buffer.c b/src/buffer.c
index 281947a..d7f7ae1 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -217,7 +217,7 @@
}
fprintf(o, " ");
for (i = 0; (from + i < to) && (i < 16) ; i++) {
- fprintf(o, "%c", isprint(b->data[from + i]) ? b->data[from + i] : '.') ;
+ fprintf(o, "%c", isprint((int)b->data[from + i]) ? b->data[from + i] : '.') ;
if ((((from + i) & 15) == 15) && ((from + i) != to-1))
fprintf(o, "\n");
}