X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/5366852335044c1e68a5c32548d3051cc943552f..7b78a5a287827db9e9b16286f3604aef69b37c5c:/fatfs/doc/en/eof.html?ds=sidebyside 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))