]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(pop_dir): Cast length to `int' to avoid a warning on
authorJim Meyering <jim@meyering.net>
Thu, 13 May 1999 20:42:45 +0000 (20:42 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 13 May 1999 20:42:45 +0000 (20:42 +0000)
64-bit systems.  From Ulrich Drepper.

src/remove.c

index 4c99d82b5db079f2386c2ba5519061ffe54086d2..e827ac7438852eb5a9b1f0a13a6e5e18dc8501d0 100644 (file)
@@ -247,7 +247,7 @@ pop_dir (void)
 
   /* Pop the length stack, too.  */
   assert (obstack_object_size (&len_stack) >= sizeof (size_t));
-  obstack_blank (&len_stack, -(sizeof (size_t)));
+  obstack_blank (&len_stack, (int) -(sizeof (size_t)));
 }
 
 /* Copy the SRC_LEN bytes of data beginning at SRC into the DST_LEN-byte