mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-13 15:00:42 -08:00
(Fload): Cast the args to stat.
This commit is contained in:
parent
df5d008dfd
commit
4ff37b0873
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue