aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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",