Commit 4ff37b08 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fload): Cast the args to stat.

parent df5d008d
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment