aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-24 21:50:10 +0000
committerRichard M. Stallman1994-02-24 21:50:10 +0000
commit4ff37b087331eef0e718a17a424872a862dfa69b (patch)
tree9269479795e6f43493d989da374962c213392000
parentdf5d008dfdda3fdd3e9bcd3eac97a59167f0eaba (diff)
downloademacs-4ff37b087331eef0e718a17a424872a862dfa69b.tar.gz
emacs-4ff37b087331eef0e718a17a424872a862dfa69b.zip
(Fload): Cast the args to stat.
-rw-r--r--src/lread.c4
1 files changed, 2 insertions, 2 deletions
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.")
376#ifdef MSDOS 376#ifdef MSDOS
377 dosmode = "rb"; 377 dosmode = "rb";
378#endif 378#endif
379 stat (XSTRING (found)->data, &s1); 379 stat ((char *)XSTRING (found)->data, &s1);
380 XSTRING (found)->data[XSTRING (found)->size - 1] = 0; 380 XSTRING (found)->data[XSTRING (found)->size - 1] = 0;
381 result = stat (XSTRING (found)->data, &s2); 381 result = stat ((char *)XSTRING (found)->data, &s2);
382 if (result >= 0 && (unsigned) s1.st_mtime < (unsigned) s2.st_mtime) 382 if (result >= 0 && (unsigned) s1.st_mtime < (unsigned) s2.st_mtime)
383 { 383 {
384 message ("Source file `%s' newer than byte-compiled file", 384 message ("Source file `%s' newer than byte-compiled file",