diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-25 19:31:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-25 19:31:48 +0000 |
commit | 24982c589bcd53a3f38b868ca17fa12d4922e5ed (patch) | |
tree | 145a841193b6bde3f03bb9b3ddb6a4b0dfcb7b16 | |
parent | 2d848a476ac212046bcda453c8bc3da5fcaff5d3 (diff) | |
download | busybox-24982c589bcd53a3f38b868ca17fa12d4922e5ed.tar.gz |
Fix up some warnings that show up on ppc
-rw-r--r-- | archival/dpkg.c | 2 | ||||
-rw-r--r-- | coreutils/ls.c | 2 | ||||
-rw-r--r-- | dpkg.c | 2 | ||||
-rw-r--r-- | ls.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 7dd46be0c..01ddc7b7b 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -837,7 +837,7 @@ extern int dpkg_main(int argc, char **argv) optind++; } - make_directory(infodir, S_IRWXU, FILEUTILS_RECUR); + make_directory((char *)infodir, S_IRWXU, FILEUTILS_RECUR); status = status_read(); diff --git a/coreutils/ls.c b/coreutils/ls.c index c54b6a42f..d9ecf0490 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -605,7 +605,7 @@ static int list_single(struct dnode *dn) for (i=0; i<=31; i++) { switch (list_fmt & (1<<i)) { case LIST_INO: - printf("%7ld ", dn->dstat.st_ino); + printf("%7ld ", (long int)dn->dstat.st_ino); column += 8; break; case LIST_BLOCKS: @@ -837,7 +837,7 @@ extern int dpkg_main(int argc, char **argv) optind++; } - make_directory(infodir, S_IRWXU, FILEUTILS_RECUR); + make_directory((char *)infodir, S_IRWXU, FILEUTILS_RECUR); status = status_read(); @@ -605,7 +605,7 @@ static int list_single(struct dnode *dn) for (i=0; i<=31; i++) { switch (list_fmt & (1<<i)) { case LIST_INO: - printf("%7ld ", dn->dstat.st_ino); + printf("%7ld ", (long int)dn->dstat.st_ino); column += 8; break; case LIST_BLOCKS: |