summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/eof.html
diff options
context:
space:
mode:
authorLeo C2014-11-17 15:12:44 +0100
committerLeo C2014-11-17 15:12:44 +0100
commit05437fb4cdb907816a4fc3ffafa2617fcf33266a (patch)
treeb9c5c27aec894465a7741bab84a402d98839a813 /fatfs/doc/en/eof.html
parent3531528ecedde37d5ebc67a330d192565290175a (diff)
parent7b78a5a287827db9e9b16286f3604aef69b37c5c (diff)
downloadz180-stamp-05437fb4cdb907816a4fc3ffafa2617fcf33266a.zip
Merge tag 'fatfs-0.10c'
Import fatfs R0.10c
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>