X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tape-src%2Foutput-file.c;h=d4e4284d80c9af6fd2620e6241b66deb36f61f41;hb=d3b2175e084f88c8736ad7073eacbf4670147aec;hp=eaa32ca0cb7dadc9f4db2db026c5661736fe4bd7;hpb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;p=debian%2Famanda diff --git a/tape-src/output-file.c b/tape-src/output-file.c index eaa32ca..d4e4284 100644 --- a/tape-src/output-file.c +++ b/tape-src/output-file.c @@ -26,7 +26,7 @@ */ /* - * $Id: output-file.c,v 1.14.2.1 2006/11/20 22:34:39 martinea Exp $ + * $Id: output-file.c,v 1.14 2006/07/06 15:04:18 martinea Exp $ * * tapeio.c virtual tape interface for a file device. * @@ -362,8 +362,8 @@ file_open( OFF_T_FMT_TYPE end_record_ = (OFF_T_FMT_TYPE)0; n = sscanf(line, OFF_T_FMT " " OFF_T_FMT " " SIZE_T_FMT, &start_record_, &end_record_, &record_size); - start_record = start_record_; - end_record = end_record_; + start_record = (off_t)start_record_; + end_record = (off_t)end_record_; if (n == 3) { ri_p = &fi->ri;