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

Showing the changes to scripts (2 of 2 files). Show all

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
163int dialog_checklist (const char *title, const char *prompt, int height,163int dialog_checklist (const char *title, const char *prompt, int height,
164 int width, int list_height, int item_no,164 int width, int list_height, int item_no,
165 const char * const * items, int flag);165 const char * const * items, int flag);
166extern unsigned char dialog_input_result[];166extern char dialog_input_result[];
167int dialog_inputbox (const char *title, const char *prompt, int height,167int dialog_inputbox (const char *title, const char *prompt, int height,
168 int width, const char *init);168 int width, const char *init);
169 169
scripts/lxdialog/inputbox.c+2−2
@@ -21,7 +21,7 @@ · 20 unmodified lines
21 21
22#include "dialog.h"22#include "dialog.h"
23 23
24unsigned char dialog_input_result[MAX_LEN + 1];24char dialog_input_result[MAX_LEN + 1];
25 25
26/*26/*
27 * Print the termination buttons27 * Print the termination buttons
@@ -48,7 +48,7 @@ dialog_inputbox (const char *title, const char *prompt, int height, int width, · 20 unmodified lines
48{48{
49 int i, x, y, box_y, box_x, box_width;49 int i, x, y, box_y, box_x, box_width;
50 int input_x = 0, scroll = 0, key = 0, button = -1;50 int input_x = 0, scroll = 0, key = 0, button = -1;
51 unsigned char *instr = dialog_input_result;51 char *instr = dialog_input_result;
52 WINDOW *dialog;52 WINDOW *dialog;
53 53
54 /* center dialog box on screen */54 /* center dialog box on screen */