[PATCH] kbuild: signed/unsigned char fix for make menuconfig
authorKeenan Pepper <keenanpepper@gmail.com>
Wed, 27 Jul 2005 18:14:00 +0000 (14:14 -0400)
committerSam Ravnborg <sam@mars.(none)>
Wed, 27 Jul 2005 20:17:30 +0000 (22:17 +0200)
Quiet some silly warnings.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/lxdialog/dialog.h
scripts/lxdialog/inputbox.c

index c571548..eb63e1b 100644 (file)
@@ -163,7 +163,7 @@ int dialog_menu (const char *title, const char *prompt, int height, int width,
 int dialog_checklist (const char *title, const char *prompt, int height,
                int width, int list_height, int item_no,
                const char * const * items, int flag);
-extern unsigned char dialog_input_result[];
+extern char dialog_input_result[];
 int dialog_inputbox (const char *title, const char *prompt, int height,
                int width, const char *init);
 
index fa7bebc..074d2d6 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "dialog.h"
 
-unsigned char dialog_input_result[MAX_LEN + 1];
+char dialog_input_result[MAX_LEN + 1];
 
 /*
  *  Print the termination buttons
@@ -48,7 +48,7 @@ dialog_inputbox (const char *title, const char *prompt, int height, int width,
 {
     int i, x, y, box_y, box_x, box_width;
     int input_x = 0, scroll = 0, key = 0, button = -1;
-    unsigned char *instr = dialog_input_result;
+    char *instr = dialog_input_result;
     WINDOW *dialog;
 
     /* center dialog box on screen */