From: Richard M. Stallman Date: Thu, 24 Feb 1994 21:50:10 +0000 (+0000) Subject: (Fload): Cast the args to stat. X-Git-Tag: emacs-19.34~9780 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ff37b087331eef0e718a17a424872a862dfa69b;p=emacs.git (Fload): Cast the args to stat. --- diff --git a/src/lread.c b/src/lread.c index 32ee6885ac3..8649d8a6694 100644 --- a/src/lread.c +++ b/src/lread.c @@ -376,9 +376,9 @@ Return t if file exists.") #ifdef MSDOS dosmode = "rb"; #endif - stat (XSTRING (found)->data, &s1); + stat ((char *)XSTRING (found)->data, &s1); XSTRING (found)->data[XSTRING (found)->size - 1] = 0; - result = stat (XSTRING (found)->data, &s2); + result = stat ((char *)XSTRING (found)->data, &s2); if (result >= 0 && (unsigned) s1.st_mtime < (unsigned) s2.st_mtime) { message ("Source file `%s' newer than byte-compiled file",