diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-18 22:28:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-18 22:28:26 +0000 |
commit | 5599502a550a7f892d4b73dceb2105a6916f83e6 (patch) | |
tree | 572ffa27892b1b24db86930044077dbb1565840f /libbb/lineedit.c | |
parent | e125a683a77d14401644d15f38b7f578db723924 (diff) | |
download | busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.gz busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.bz2 busybox-w32-5599502a550a7f892d4b73dceb2105a6916f83e6.zip |
more -Wall warning fixes. -Wall is enabled now.
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 9c802a35f..c91efd40c 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1318,7 +1318,7 @@ static void cmdedit_setwidth(unsigned w, int redraw_flg) | |||
1318 | 1318 | ||
1319 | static void win_changed(int nsig) | 1319 | static void win_changed(int nsig) |
1320 | { | 1320 | { |
1321 | int width; | 1321 | unsigned width; |
1322 | get_terminal_width_height(0, &width, NULL); | 1322 | get_terminal_width_height(0, &width, NULL); |
1323 | cmdedit_setwidth(width, nsig /* - just a yes/no flag */); | 1323 | cmdedit_setwidth(width, nsig /* - just a yes/no flag */); |
1324 | if (nsig == SIGWINCH) | 1324 | if (nsig == SIGWINCH) |
@@ -1353,7 +1353,7 @@ int read_line_input(const char *prompt, char *command, int maxsize, line_input_t | |||
1353 | #if ENABLE_FEATURE_TAB_COMPLETION | 1353 | #if ENABLE_FEATURE_TAB_COMPLETION |
1354 | smallint lastWasTab = FALSE; | 1354 | smallint lastWasTab = FALSE; |
1355 | #endif | 1355 | #endif |
1356 | unsigned int ic; | 1356 | unsigned ic; |
1357 | unsigned char c; | 1357 | unsigned char c; |
1358 | smallint break_out = 0; | 1358 | smallint break_out = 0; |
1359 | #if ENABLE_FEATURE_EDITING_VI | 1359 | #if ENABLE_FEATURE_EDITING_VI |