diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-02-26 10:29:46 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-02-26 10:29:46 +0000 |
commit | e01840e8b3e6bc4f0798ea0ebd128a80c22e0cde (patch) | |
tree | f9eb43d5618b7f22080b44d31ade64a9d4813895 | |
parent | 2e3071dcce41c459bc1864fbe47e1c1cc76dcd75 (diff) | |
download | lcd4linux-e01840e8b3e6bc4f0798ea0ebd128a80c22e0cde.tar.gz |
compiler warnings on x86_64 fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@774 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drv_BeckmannEgle.c | 2 | ||||
-rw-r--r-- | drv_LEDMatrix.c | 4 | ||||
-rw-r--r-- | drv_WincorNixdorf.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drv_BeckmannEgle.c b/drv_BeckmannEgle.c index c486062..a65ac5d 100644 --- a/drv_BeckmannEgle.c +++ b/drv_BeckmannEgle.c @@ -352,7 +352,7 @@ static int drv_BuE_CT_start(const char *section) /* read version */ drv_generic_serial_write(ESC "?V", 3); usleep(100000); - if ((len = drv_generic_serial_read(buffer, -1 * sizeof(buffer))) > 0) { + if ((len = drv_generic_serial_read(buffer, -1 * (int) sizeof(buffer))) > 0) { int v, r, s; if (sscanf(buffer, "V:%d.%d,%d;", &v, &r, &s) != 3) { error("%s: error parsing display identification <%*s>", Name, len, buffer); diff --git a/drv_LEDMatrix.c b/drv_LEDMatrix.c index a9fe9a8..a44f93c 100644 --- a/drv_LEDMatrix.c +++ b/drv_LEDMatrix.c @@ -145,8 +145,8 @@ static void drv_LEDMatrix_blit(const int row, const int col, const int height, c if ((i == 2) && (reply[0] == DSP_CMD_ACK) && (reply[1] == DSP_CMD_IMAGE)) { ack = 1; } else if ((i > 1) && (reply[0] == DSP_CMD_IR)) { -/* maybe used later: */ -/* ir_receive(reply+1, i-1); */ + /* maybe used later: */ + /* ir_receive(reply+1, i-1); */ } else { info("%s: Unexpected reply message", Name); } diff --git a/drv_WincorNixdorf.c b/drv_WincorNixdorf.c index b016dc9..829a570 100644 --- a/drv_WincorNixdorf.c +++ b/drv_WincorNixdorf.c @@ -140,7 +140,7 @@ static int drv_WN_start(const char *section, const int quiet) drv_generic_serial_write(ESC "[0c", 4); usleep(100 * 1000); - if ((len = drv_generic_serial_read(buffer, -1 * sizeof(buffer))) > 0) { + if ((len = drv_generic_serial_read(buffer, -1 * (int) sizeof(buffer))) > 0) { info("%s: waiting 15 seconds for selftest", Name); drv_generic_serial_write(buffer, len); sleep(15); |