]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - fatfs/doc/en/eof.html
Import fatfs R0.10c
[z180-stamp.git] / fatfs / doc / en / eof.html
index 384c8d8836aa626579fdce95bdae382264d71a25..337697b7c1f4acb61517bf20879033d256830f45 100644 (file)
@@ -41,7 +41,7 @@ int f_eof (
 <h4>Description</h4>\r
 <p>In this revision, this function is implemented as a macro.</p>\r
 <pre>\r
-<span class="k">#define</span> f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)\r
+<span class="k">#define</span> f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))\r
 </pre>\r
 </div>\r
 \r