diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-08-03 02:44:22 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-08-03 02:44:22 +0000 |
commit | e91cbd072ab678b68095a5e81fc37df6ae44c975 (patch) | |
tree | 901daa46a75f677ed14c9c42a65a9a9d8b2c2ab8 | |
parent | 58d42c80d71e628ddf8fc32cae477f17cb3a3f25 (diff) | |
download | lcd4linux-e91cbd072ab678b68095a5e81fc37df6ae44c975.tar.gz |
signed/unsigned mismatch
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@886 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r-- | drv_IRLCD.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |