From 7b78a5a287827db9e9b16286f3604aef69b37c5c Mon Sep 17 00:00:00 2001 From: Leo C Date: Mon, 17 Nov 2014 14:47:05 +0100 Subject: Import fatfs R0.10c --- fatfs/doc/en/eof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fatfs/doc/en/eof.html') 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))
 
-- cgit v1.2.3