History

[PATCH] kbuild: signed/unsigned char fix for make menuconfig

Quiet some silly warnings. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Keenan Pepper committed 21 years ago

Commit 84c2a2e1 parent db8c1a72 files · +3 −3Browse files

Unified · Split

2 files
  1. scripts/lxdialog/dialog.h +1 −1
  2. scripts/lxdialog/inputbox.c +2 −2
scripts/lxdialog/dialog.h+1−1
@@ -163,7 +163,7 @@ int dialog_menu (const char *title, const char *prompt, int height, int width, · 162 unmodified lines
163163 int dialog_checklist (const char *title, const char *prompt, int height,
164164 int width, int list_height, int item_no,
165165 const char * const * items, int flag);
166−extern unsigned char dialog_input_result[];
166+extern char dialog_input_result[];
167167 int dialog_inputbox (const char *title, const char *prompt, int height,
168168 int width, const char *init);
169169
scripts/lxdialog/inputbox.c+2−2
@@ -21,7 +21,7 @@ · 20 unmodified lines
2121
2222 #include "dialog.h"
2323
24−unsigned char dialog_input_result[MAX_LEN + 1];
24+char dialog_input_result[MAX_LEN + 1];
2525
2626 /*
2727 * Print the termination buttons
@@ -48,7 +48,7 @@ dialog_inputbox (const char *title, const char *prompt, int height, int width, · 20 unmodified lines
4848 {
4949 int i, x, y, box_y, box_x, box_width;
5050 int input_x = 0, scroll = 0, key = 0, button = -1;
51− unsigned char *instr = dialog_input_result;
51+ char *instr = dialog_input_result;
5252 WINDOW *dialog;
5353
5454 /* center dialog box on screen */