Skip to content

Commit

Permalink
[PATCH] kbuild: signed/unsigned char fix for make menuconfig
Browse files Browse the repository at this point in the history
Quiet some silly warnings.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
keenanpepper authored and Sam Ravnborg committed Jul 27, 2005
1 parent db8c1a7 commit 84c2a2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/lxdialog/dialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions scripts/lxdialog/inputbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 */
Expand Down

0 comments on commit 84c2a2e

Please sign in to comment.