$NetBSD$

--- src/runtime/kernel/boot.c.orig
+++ src/runtime/kernel/boot.c
@@ -124,7 +124,7 @@
     ml_val_t	fileList;
 # define SIZE_BUF_LEN	128	/* this should be plenty for two numbers */
     char        sizeBuf[SIZE_BUF_LEN];
-    char        c;
+    int        c;
 
     numFiles = 0;
 
