[PATCH] [TRIVIAL] signed/unsigned char fix for make menuconfig
From: Keenan Pepper
Date: Wed Jul 27 2005 - 13:15:36 EST
Quiet some silly warnings.
--- linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.orig.h 2005-07-27
13:59:02.389806392 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/dialog.h 2005-07-27
13:59:13.437126944 -0400
@@ -163,7 +163,7 @@
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);
--- linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.orig.c 2005-07-27
13:57:57.647648696 -0400
+++ linux-2.6.13-rc3-mm2/scripts/lxdialog/inputbox.c 2005-07-27
13:58:37.336615056 -0400
@@ -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 @@
{
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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/