X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=restore-src%2Famrestore.c;h=d0a6435618b9ea61267a7d508f552e0b67472b87;hb=d3b2175e084f88c8736ad7073eacbf4670147aec;hp=1410b9dccff09c2cb43f5487968c5a9bca14a82a;hpb=12179dea039515c06168c0037d048566a3f623de;p=debian%2Famanda diff --git a/restore-src/amrestore.c b/restore-src/amrestore.c index 1410b9d..d0a6435 100644 --- a/restore-src/amrestore.c +++ b/restore-src/amrestore.c @@ -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);