From: Jim Meyering Date: Thu, 13 May 1999 20:42:45 +0000 (+0000) Subject: (pop_dir): Cast length to `int' to avoid a warning on X-Git-Tag: TEXTUTILS-1_22l~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59d16049d86cfd9475e26fe7c62a192dd922bff0;p=thirdparty%2Fcoreutils.git (pop_dir): Cast length to `int' to avoid a warning on 64-bit systems. From Ulrich Drepper. --- diff --git a/src/remove.c b/src/remove.c index 4c99d82b5d..e827ac7438 100644 --- a/src/remove.c +++ b/src/remove.c @@ -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