]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Declare out_dev to be of type dev_t, not `int'.
authorJim Meyering <jim@meyering.net>
Tue, 13 Apr 1999 01:11:46 +0000 (01:11 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 13 Apr 1999 01:11:46 +0000 (01:11 +0000)
Declare out_ino to be of type ino_t, not `int'.

src/cat.c

index 0899cb79fdeff33d4fc0bb06ffb37477e2d1771d..62789d60e6d297bc33869f307839221a45df9a86 100644 (file)
--- a/src/cat.c
+++ b/src/cat.c
@@ -486,10 +486,10 @@ main (int argc, char **argv)
   int argind;
 
   /* Device number of the output (file or whatever).  */
-  int out_dev;
+  dev_t out_dev;
 
   /* I-node number of the output.  */
-  int out_ino;
+  ino_t out_ino;
 
   /* Nonzero if the output file should not be the same as any input file. */
   int check_redirection = 1;