summaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-05-18 22:28:26 +0000
committerDenis Vlasenko2008-05-18 22:28:26 +0000
commit5599502a550a7f892d4b73dceb2105a6916f83e6 (patch)
tree572ffa27892b1b24db86930044077dbb1565840f /libbb/appletlib.c
parente125a683a77d14401644d15f38b7f578db723924 (diff)
downloadbusybox-5599502a550a7f892d4b73dceb2105a6916f83e6.zip
busybox-5599502a550a7f892d4b73dceb2105a6916f83e6.tar.gz
more -Wall warning fixes. -Wall is enabled now.
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 3d5aef8..464280b 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -73,7 +73,7 @@ static const char *unpack_usage_messages(void)
i = start_bunzip(&bd,
/* src_fd: */ -1,
- /* inbuf: */ packed_usage,
+ /* inbuf: */ (void *)packed_usage,
/* len: */ sizeof(packed_usage));
/* read_bunzip can longjmp to start_bunzip, and ultimately
* end up here with i != 0 on read data errors! Not trivial */
@@ -628,7 +628,7 @@ static int busybox_main(char **argv)
if (!argv[1]) {
/* Called without arguments */
const char *a;
- int col, output_width;
+ unsigned col, output_width;
help:
output_width = 80;
if (ENABLE_FEATURE_AUTOWIDTH) {