$NetBSD: patch-ay,v 1.1 1999/07/26 21:19:33 tron Exp $ --- save.c.orig Mon Sep 13 19:42:52 1993 +++ save.c Mon Jul 26 23:11:39 1999 @@ -514,7 +514,7 @@ return 0; } current_folder_type = -1; - if (ftell(save_file) != (off_t)0) { + if (ftell(save_file) != (long)0) { if (mode != NO_HEADER) set_folder_type(save_name); save_mode &= ~FILE_IS_NEW; } @@ -531,7 +531,7 @@ mailbox_format(save_file, 1); if (mode == FULL_HEADER) { - off_t cnt = ah->fpos - ah->hpos; + long cnt = ah->fpos - ah->hpos; while (--cnt >= 0) { if ((c = getc(art)) == EOF) break; putc(c, save_file); @@ -647,7 +647,7 @@ char *dir, *file; { register int c; - off_t endpos; + long endpos; FILE *h; if (dir != (char *)NULL && file[0] != '/') @@ -656,7 +656,7 @@ msg("Cannot open %s", file); return; } - fseek(h, (off_t)0, 2); + fseek(h, (long)0, 2); if (ftell(h) > 0) set_folder_type(file); else