X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..4a5b1968d1655ec436432949dd7cbd87f1ef39d3:/fatfs/doc/en/eof.html diff --git a/fatfs/doc/en/eof.html b/fatfs/doc/en/eof.html index 384c8d8..337697b 100644 --- a/fatfs/doc/en/eof.html +++ b/fatfs/doc/en/eof.html @@ -41,7 +41,7 @@ int f_eof (

Description

In this revision, this function is implemented as a macro.

-#define f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)
+#define f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))