summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2006-04-20 04:00:11 +0000
committerMike Frysinger2006-04-20 04:00:11 +0000
commitf162183527874d0027af008dd14a6b21615d27de (patch)
tree7c7017e15bcd9f2c1f77b0ae7134e2b0805f7d42
parent998dbee6d9494c4dee29a2abe195d79d9b1c2e08 (diff)
downloadbusybox-f162183527874d0027af008dd14a6b21615d27de.zip
busybox-f162183527874d0027af008dd14a6b21615d27de.tar.gz
kill signed warnings
-rw-r--r--scripts/config/lxdialog/dialog.h2
-rw-r--r--scripts/config/lxdialog/inputbox.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/config/lxdialog/dialog.h b/scripts/config/lxdialog/dialog.h
index cb482a5..c103ecd 100644
--- a/scripts/config/lxdialog/dialog.h
+++ b/scripts/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/scripts/config/lxdialog/inputbox.c b/scripts/config/lxdialog/inputbox.c
index fa7bebc..074d2d6 100644
--- a/scripts/config/lxdialog/inputbox.c
+++ b/scripts/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 */