diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-20 04:00:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-20 04:00:11 +0000 |
commit | f162183527874d0027af008dd14a6b21615d27de (patch) | |
tree | 7c7017e15bcd9f2c1f77b0ae7134e2b0805f7d42 /scripts | |
parent | 998dbee6d9494c4dee29a2abe195d79d9b1c2e08 (diff) | |
download | busybox-w32-f162183527874d0027af008dd14a6b21615d27de.tar.gz busybox-w32-f162183527874d0027af008dd14a6b21615d27de.tar.bz2 busybox-w32-f162183527874d0027af008dd14a6b21615d27de.zip |
kill signed warnings
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/config/lxdialog/dialog.h | 2 | ||||
-rw-r--r-- | scripts/config/lxdialog/inputbox.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/config/lxdialog/dialog.h b/scripts/config/lxdialog/dialog.h index cb482a5ab..c103ecd23 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, | |||
170 | int dialog_checklist (const char *title, const char *prompt, int height, | 170 | int dialog_checklist (const char *title, const char *prompt, int height, |
171 | int width, int list_height, int item_no, | 171 | int width, int list_height, int item_no, |
172 | struct dialog_list_item ** items, int flag); | 172 | struct dialog_list_item ** items, int flag); |
173 | extern unsigned char dialog_input_result[]; | 173 | extern char dialog_input_result[]; |
174 | int dialog_inputbox (const char *title, const char *prompt, int height, | 174 | int dialog_inputbox (const char *title, const char *prompt, int height, |
175 | int width, const char *init); | 175 | int width, const char *init); |
176 | 176 | ||
diff --git a/scripts/config/lxdialog/inputbox.c b/scripts/config/lxdialog/inputbox.c index fa7bebc69..074d2d68b 100644 --- a/scripts/config/lxdialog/inputbox.c +++ b/scripts/config/lxdialog/inputbox.c | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include "dialog.h" | 22 | #include "dialog.h" |
23 | 23 | ||
24 | unsigned char dialog_input_result[MAX_LEN + 1]; | 24 | char dialog_input_result[MAX_LEN + 1]; |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * Print the termination buttons | 27 | * Print the termination buttons |
@@ -48,7 +48,7 @@ dialog_inputbox (const char *title, const char *prompt, int height, int width, | |||
48 | { | 48 | { |
49 | int i, x, y, box_y, box_x, box_width; | 49 | int i, x, y, box_y, box_x, box_width; |
50 | int input_x = 0, scroll = 0, key = 0, button = -1; | 50 | int input_x = 0, scroll = 0, key = 0, button = -1; |
51 | unsigned char *instr = dialog_input_result; | 51 | char *instr = dialog_input_result; |
52 | WINDOW *dialog; | 52 | WINDOW *dialog; |
53 | 53 | ||
54 | /* center dialog box on screen */ | 54 | /* center dialog box on screen */ |