X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fbuffer.c;h=3e10acc3a3fb345c7fd5f48fcfe29bdcae70d100;hb=0e3b1c9291a9ed7156e66cae694fdcceacdc4ed3;hp=72c299ed6bd21e1535cf916b3aa3c69c4a2b3324;hpb=4559fdbfb1901845087b54a31fe7ba53fa9d661a;p=chaz%2Ftar diff --git a/src/buffer.c b/src/buffer.c index 72c299e..3e10acc 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1,5 +1,5 @@ /* Buffer management for tar. - Copyright (C) 1988, 92, 93, 94, 96, 97 Free Software Foundation, Inc. + Copyright (C) 1988, 92, 93, 94, 96, 97, 1999 Free Software Foundation, Inc. Written by John Gilmore, on 1985-08-25. This program is free software; you can redistribute it and/or modify it @@ -1337,7 +1337,7 @@ backspace_output (void) #endif { - off_t position = rmtlseek (archive, 0L, 1); + off_t position = rmtlseek (archive, (off_t) 0, 1); /* Seek back to the beginning of this record and start writing there. */ @@ -1385,7 +1385,7 @@ close_archive (void) { off_t pos; - pos = rmtlseek (archive, 0L, 1); + pos = rmtlseek (archive, (off_t) 0, 1); #if MSDOS rmtwrite (archive, "", 0); #else