summaryrefslogtreecommitdiff
path: root/fatfs/doc/en/eof.html
diff options
context:
space:
mode:
authorLeo C2014-11-17 14:47:05 +0100
committerLeo C2014-11-17 14:47:05 +0100
commit7b78a5a287827db9e9b16286f3604aef69b37c5c (patch)
tree6a3788876f5d701f42663f0a498068f18e39df79 /fatfs/doc/en/eof.html
parent5366852335044c1e68a5c32548d3051cc943552f (diff)
downloadz180-stamp-7b78a5a287827db9e9b16286f3604aef69b37c5c.zip
Import fatfs R0.10cfatfs-0.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>