2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>

* console/fbcons.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2010-04-26 02:24:36 +00:00
parent fa775a8707
commit 59adbd8802
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* console/fbcons.c: Fix warnings.
2010-04-09 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* startup/bspstart.c, network/network.c: make irq data types

View File

@@ -27,7 +27,7 @@
static int fbcons_first_open(int major, int minor, void *arg);
static int fbcons_last_close(int major, int minor, void *arg);
static int fbcons_read(int minor);
static int fbcons_write(int minor, const char *buf, int len);
static ssize_t fbcons_write(int minor, const char *buf, size_t len);
static void fbcons_init(int minor);
static void fbcons_write_polled(int minor, char c);
static int fbcons_set_attributes(int minor, const struct termios *t);
@@ -91,7 +91,7 @@ static int fbcons_read(int minor)
*
* return 1 on success, -1 on error
*/
static int fbcons_write(int minor, const char *buf, int len)
static ssize_t fbcons_write(int minor, const char *buf, size_t len)
{
int i;