]> git.wh0rd.org - dump.git/blobdiff - restore/dirs.c
Largefile version of seek in rmt.
[dump.git] / restore / dirs.c
index 228877733a4388fd90cb82c91315142ffd91790b..2be4e528f9e0a25ba56c15f3f5d8355235ebdeda 100644 (file)
@@ -46,7 +46,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: dirs.c,v 1.21 2002/07/19 14:57:39 stelian Exp $";
+       "$Id: dirs.c,v 1.22 2003/01/10 14:42:51 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -587,7 +587,7 @@ static long
 rst_telldir(RST_DIR *dirp)
 {
        return ((long)lseek(dirp->dd_fd,
-           (off_t)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc);
+           (OFF_T)0, SEEK_CUR) - dirp->dd_size + dirp->dd_loc);
 }
 
 /*