X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=rmt%2Frmt.c;fp=rmt%2Frmt.c;h=3167e1dd76e1f4015ccf83af6d26a763a28b7e0f;hp=fc6eb827f4788c0c60b878f918c1eb0fc0e394b8;hb=5bf65105dbaf0bb3d6fb4ccb3d8790bda496d861;hpb=7fcd6df59144f29299a35d54bec24a147fd19f12 diff --git a/rmt/rmt.c b/rmt/rmt.c index fc6eb82..3167e1d 100644 --- a/rmt/rmt.c +++ b/rmt/rmt.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: rmt.c,v 1.21 2002/07/29 12:00:34 stelian Exp $"; + "$Id: rmt.c,v 1.22 2003/01/10 14:42:51 stelian Exp $"; #endif /* not linux */ /* @@ -183,7 +183,7 @@ top: getstring(count); getstring(pos); DEBUG2("rmtd: L %s %s\n", count, pos); - rval = LSEEK(tape, (off_t)atol(count), atoi(pos)); + rval = LSEEK(tape, (OFF_T)atoll(count), atoi(pos)); if (rval < 0) goto ioerror; goto respond;