X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=edit.c;h=cb9ff2340a8b2c6d31e1f0a554416dda7ebae62d;hp=d9a667aa87feb882a819eea6df6a47abfb50f4be;hb=59926571aaec3e38cec09d0d9fa34f4a4b887309;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed diff --git a/edit.c b/edit.c index d9a667a..cb9ff23 100644 --- a/edit.c +++ b/edit.c @@ -56,7 +56,7 @@ static char *EditorHelp = N_("\ . on a line by itself ends input\n"); static char **be_snarf_data (FILE * f, char **buf, int *bufmax, int *buflen, - int offset, int bytes, int prefix) + LOFF_T offset, int bytes, int prefix) { char tmp[HUGE_STRING]; char *p = tmp; @@ -70,7 +70,7 @@ static char **be_snarf_data (FILE * f, char **buf, int *bufmax, int *buflen, tmplen = sizeof (tmp) - tmplen; } - fseek (f, offset, 0); + fseeko (f, offset, 0); while (bytes > 0) { if (fgets (p, tmplen - 1, f) == NULL) break;