Mercurial > emacs
changeset 6072:8af8f6b469e1
(Fload): Cast the args to stat.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Feb 1994 21:50:10 +0000 |
parents | 83c6f15698be |
children | 2f23436468ce |
files | src/lread.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lread.c Thu Feb 24 21:18:49 1994 +0000 +++ b/src/lread.c Thu Feb 24 21:50:10 1994 +0000 @@ -376,9 +376,9 @@ #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",