summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-05 23:35:08 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-05 23:35:08 +0000
commitbde6a2af56c378d585e1cbe58cc1643c9336f94a (patch)
tree2128eb070eb227ccbe7f87c7c3d59dc26e18a351 /extra
parent2a8f5686fc584900b018ad5f2a8418152c934aa3 (diff)
fix signed warnings with gcc-4
Diffstat (limited to 'extra')
-rw-r--r--extra/config/lxdialog/dialog.h2
-rw-r--r--extra/config/lxdialog/inputbox.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/extra/config/lxdialog/dialog.h b/extra/config/lxdialog/dialog.h
index 7bab3ad0e..d33b99ab1 100644
--- a/extra/config/lxdialog/dialog.h
+++ b/extra/config/lxdialog/dialog.h
@@ -170,7 +170,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,
struct dialog_list_item ** 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/extra/config/lxdialog/inputbox.c b/extra/config/lxdialog/inputbox.c
index fa7bebc69..074d2d68b 100644
--- a/extra/config/lxdialog/inputbox.c
+++ b/extra/config/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, 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 */