X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fxsparse.c;h=7fd31d9589a42ab2d4a9506ab50eb86830c9923a;hb=a0fd0d95e297175c37fbad99016825680552bfda;hp=c77c3f5ced78b0e1c96baf816726cdf754d59876;hpb=3925776b41a69f592166ad03c92c4cbb01ee528a;p=chaz%2Ftar diff --git a/scripts/xsparse.c b/scripts/xsparse.c index c77c3f5..7fd31d9 100644 --- a/scripts/xsparse.c +++ b/scripts/xsparse.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -279,8 +280,8 @@ read_map (FILE *ifp) sparse_map[i].numbytes = string_to_size (nbuf, NULL); } - fseek (ifp, ((ftell (ifp) + BLOCKSIZE - 1) / BLOCKSIZE) * BLOCKSIZE, - SEEK_SET); + fseeko (ifp, ((ftell (ifp) + BLOCKSIZE - 1) / BLOCKSIZE) * BLOCKSIZE, + SEEK_SET); } void