Fix up some warnings that show up on ppc

This commit is contained in:
Eric Andersen 2001-06-25 19:31:48 +00:00
parent 2d848a476a
commit 24982c589b
4 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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:

2
dpkg.c
View File

@ -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();

2
ls.c
View File

@ -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: