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:
parent
168555048a
commit
700d70d03b
File diff suppressed because it is too large
Load Diff
|
@ -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)))
|
||||||
|
|
Loading…
Reference in New Issue