mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Fix bug: Using unsigned to detect errno<0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@791 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ ssize_t lib_fflush(FILE *stream, boolean bforce)
|
||||
{
|
||||
#if CONFIG_STDIO_BUFFER_SIZE > 0
|
||||
const unsigned char *src;
|
||||
size_t bytes_written;
|
||||
ssize_t bytes_written;
|
||||
size_t nbuffer;
|
||||
|
||||
/* Return EBADF if the file is not opened for writing */
|
||||
|
||||
Reference in New Issue
Block a user