From e91cbd072ab678b68095a5e81fc37df6ae44c975 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 3 Aug 2008 02:44:22 +0000 Subject: signed/unsigned mismatch git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@886 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_IRLCD.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drv_IRLCD.c') diff --git a/drv_IRLCD.c b/drv_IRLCD.c index 4e28f03..d5e8e19 100644 --- a/drv_IRLCD.c +++ b/drv_IRLCD.c @@ -191,7 +191,7 @@ static int drv_IRLCD_send(int request, unsigned char *buffer, int size) /* text mode displays only */ static void drv_IRLCD_clear(void) { - char cmd[1]; + unsigned char cmd[1]; cmd[0] = 0x01; /* clear */ drv_IRLCD_send(LCD_INSTR, cmd, 1); @@ -203,7 +203,7 @@ static void drv_IRLCD_clear(void) /* text mode displays only */ static void drv_IRLCD_write(const int row, const int col, const char *data, int len) { - char cmd[1]; + unsigned char cmd[1]; static int pos; /* for 2 lines display */ @@ -223,7 +223,7 @@ static void drv_IRLCD_write(const int row, const int col, const char *data, int /* text mode displays only */ static void drv_IRLCD_defchar(const int ascii, const unsigned char *matrix) { - char cmd[10]; + unsigned char cmd[10]; int i; /* Write to CGRAM */ -- cgit v1.2.3