Use unsigned char for boot image

The Minix clang compiler tries to interpret "char []" according to some
character encoding and produces a compiler warning when it encounters byte
sequences that are invalid in that encoding. Avoid the warning by using
_unsigned_ char which it treats as arbitrary bytes.
This commit is contained in:
Lassi Kortela 2019-10-14 03:19:45 +03:00
parent 168555048a
commit 700d70d03b
2 changed files with 1714 additions and 1713 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
(define (dump-buffers-as-c-literal . bufs) (define (dump-buffers-as-c-literal . bufs)
(display "char boot_image[] = \"") (display "unsigned char boot_image[] = \"")
(let loop-bufs ((bufs bufs)) (let loop-bufs ((bufs bufs))
(if (not (null? bufs)) (if (not (null? bufs))
(begin (let ((buf (car bufs))) (begin (let ((buf (car bufs)))