summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/eof.html
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs/doc/en/eof.html')
-rw-r--r--fatfs/doc/en/eof.html2
1 files changed, 1 insertions, 1 deletions
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 (
<h4>Description</h4>
<p>In this revision, this function is implemented as a macro.</p>
<pre>
-<span class="k">#define</span> f_eof(fp) (((fp)->fptr) == ((fp)->fsize) ? 1 : 0)
+<span class="k">#define</span> f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))
</pre>
</div>