# HG changeset patch # User Richard M. Stallman # Date 762126610 0 # Node ID 8af8f6b469e197494e10266b968a0ed15b0dda68 # Parent 83c6f15698be5b2322f9101c2c3ba7d3db8816d5 (Fload): Cast the args to stat. diff -r 83c6f15698be -r 8af8f6b469e1 src/lread.c --- 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",