kill signed warnings

This commit is contained in:
Mike Frysinger
2006-04-20 04:00:11 +00:00
parent 998dbee6d9
commit f162183527
2 changed files with 3 additions and 3 deletions

View File

@ -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 dialog_checklist (const char *title, const char *prompt, int height,
int width, int list_height, int item_no, int width, int list_height, int item_no,
struct dialog_list_item ** items, int flag); 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 dialog_inputbox (const char *title, const char *prompt, int height,
int width, const char *init); int width, const char *init);

View File

@ -21,7 +21,7 @@
#include "dialog.h" #include "dialog.h"
unsigned char dialog_input_result[MAX_LEN + 1]; char dialog_input_result[MAX_LEN + 1];
/* /*
* Print the termination buttons * 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 i, x, y, box_y, box_x, box_width;
int input_x = 0, scroll = 0, key = 0, button = -1; int input_x = 0, scroll = 0, key = 0, button = -1;
unsigned char *instr = dialog_input_result; char *instr = dialog_input_result;
WINDOW *dialog; WINDOW *dialog;
/* center dialog box on screen */ /* center dialog box on screen */