Imported Upstream version 2.5.2p1
[debian/amanda] / restore-src / amrestore.c
index 1410b9dccff09c2cb43f5487968c5a9bca14a82a..d0a6435618b9ea61267a7d508f552e0b67472b87 100644 (file)
@@ -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);