tree b43434c5f87f09aa093a592a1e6bda8cb80880c9
parent db8c1a7b2ca25f37b1429c00e82d6568f86caec1
author Keenan Pepper <[EMAIL PROTECTED]> Wed, 27 Jul 2005 22:14:00 -0400
committer Sam Ravnborg <[EMAIL PROTECTED](none)> Wed, 27 Jul 2005 22:17:30 +0200

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

Quiet some silly warnings.
Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>

 scripts/lxdialog/dialog.h   |    2 +-
 scripts/lxdialog/inputbox.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/lxdialog/dialog.h b/scripts/lxdialog/dialog.h
--- a/scripts/lxdialog/dialog.h
+++ b/scripts/lxdialog/dialog.h
@@ -163,7 +163,7 @@ int dialog_menu (const char *title, cons
 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);
 
diff --git a/scripts/lxdialog/inputbox.c b/scripts/lxdialog/inputbox.c
--- a/scripts/lxdialog/inputbox.c
+++ b/scripts/lxdialog/inputbox.c
@@ -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, cons
 {
     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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to