diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-25 19:31:48 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-25 19:31:48 +0000 |
| commit | ecab1d9cba60730efd26dfc1cbea4db5548af0b4 (patch) | |
| tree | 145a841193b6bde3f03bb9b3ddb6a4b0dfcb7b16 | |
| parent | 657d1615d546830b43dfe4d33c9219a67be5412a (diff) | |
| download | busybox-w32-ecab1d9cba60730efd26dfc1cbea4db5548af0b4.tar.gz busybox-w32-ecab1d9cba60730efd26dfc1cbea4db5548af0b4.tar.bz2 busybox-w32-ecab1d9cba60730efd26dfc1cbea4db5548af0b4.zip | |
Fix up some warnings that show up on ppc
git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -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) | |||
| 837 | optind++; | 837 | optind++; |
| 838 | } | 838 | } |
| 839 | 839 | ||
| 840 | make_directory(infodir, S_IRWXU, FILEUTILS_RECUR); | 840 | make_directory((char *)infodir, S_IRWXU, FILEUTILS_RECUR); |
| 841 | 841 | ||
| 842 | status = status_read(); | 842 | status = status_read(); |
| 843 | 843 | ||
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) | |||
| 605 | for (i=0; i<=31; i++) { | 605 | for (i=0; i<=31; i++) { |
| 606 | switch (list_fmt & (1<<i)) { | 606 | switch (list_fmt & (1<<i)) { |
| 607 | case LIST_INO: | 607 | case LIST_INO: |
| 608 | printf("%7ld ", dn->dstat.st_ino); | 608 | printf("%7ld ", (long int)dn->dstat.st_ino); |
| 609 | column += 8; | 609 | column += 8; |
| 610 | break; | 610 | break; |
| 611 | case LIST_BLOCKS: | 611 | case LIST_BLOCKS: |
| @@ -837,7 +837,7 @@ extern int dpkg_main(int argc, char **argv) | |||
| 837 | optind++; | 837 | optind++; |
| 838 | } | 838 | } |
| 839 | 839 | ||
| 840 | make_directory(infodir, S_IRWXU, FILEUTILS_RECUR); | 840 | make_directory((char *)infodir, S_IRWXU, FILEUTILS_RECUR); |
| 841 | 841 | ||
| 842 | status = status_read(); | 842 | status = status_read(); |
| 843 | 843 | ||
| @@ -605,7 +605,7 @@ static int list_single(struct dnode *dn) | |||
| 605 | for (i=0; i<=31; i++) { | 605 | for (i=0; i<=31; i++) { |
| 606 | switch (list_fmt & (1<<i)) { | 606 | switch (list_fmt & (1<<i)) { |
| 607 | case LIST_INO: | 607 | case LIST_INO: |
| 608 | printf("%7ld ", dn->dstat.st_ino); | 608 | printf("%7ld ", (long int)dn->dstat.st_ino); |
| 609 | column += 8; | 609 | column += 8; |
| 610 | break; | 610 | break; |
| 611 | case LIST_BLOCKS: | 611 | case LIST_BLOCKS: |
