Wed May 15 17:37:26 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@redhat.com>
Sat, 22 Jun 1996 19:30:04 +0000 (19:30 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 22 Jun 1996 19:30:04 +0000 (19:30 +0000)
* dir.c (print_dir_data_base): Use %ld dev and ino and cast them to
long.

dir.c

diff --git a/dir.c b/dir.c
index d997762..11343dd 100644 (file)
--- a/dir.c
+++ b/dir.c
@@ -785,8 +785,9 @@ print_dir_data_base ()
                  dir->contents->ino[0], dir->contents->ino[1],
                  dir->contents->ino[2]);
 #else
-         printf ("# %s (device %d, inode %d): could not be opened.\n",
-                 dir->name, dir->contents->dev, dir->contents->ino);
+         printf ("# %s (device %ld, inode %ld): could not be opened.\n",
+                 dir->name, (long int) dir->contents->dev,
+                 (long int) dir->contents->ino);
 #endif
 #endif /* WIN32 */
        else