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:
+1713
-1712
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
(define (dump-buffers-as-c-literal . bufs)
|
||||
(display "char boot_image[] = \"")
|
||||
(display "unsigned char boot_image[] = \"")
|
||||
(let loop-bufs ((bufs bufs))
|
||||
(if (not (null? bufs))
|
||||
(begin (let ((buf (car bufs)))
|
||||
|
||||
Reference in New Issue
Block a user