X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=restore-src%2Famrestore.c;h=57746f59ae56d7849e8b2166a36dd30eb9aac50c;hb=34197d9f46a5f4e944378cbb65fca32ee0eec7b9;hp=1410b9dccff09c2cb43f5487968c5a9bca14a82a;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/restore-src/amrestore.c b/restore-src/amrestore.c index 1410b9d..57746f5 100644 --- a/restore-src/amrestore.c +++ b/restore-src/amrestore.c @@ -24,7 +24,7 @@ * file named AUTHORS, in the root directory of this distribution. */ /* - * $Id: amrestore.c,v 1.63 2006/07/25 18:58:10 martinea Exp $ + * $Id: amrestore.c,v 1.63.2.1 2006/11/08 17:11:40 martinea Exp $ * * retrieves files from an amanda tape */ @@ -168,7 +168,7 @@ main( case 'p': rst_flags->pipe_to_fd = fileno(stdout); break; case 'h': rst_flags->headers = 1; break; case 'f': - filefsf = (off_t)strtoll(optarg, &e, 10); + filefsf = (off_t)OFF_T_STRTOL(optarg, &e, 10); /*@ignore@*/ if(*e != '\0') { error("invalid fileno value \"%s\"", optarg);