aboutsummaryrefslogtreecommitdiffstats
path: root/drv_WincorNixdorf.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-02-26 10:29:46 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-02-26 10:29:46 +0000
commite01840e8b3e6bc4f0798ea0ebd128a80c22e0cde (patch)
treef9eb43d5618b7f22080b44d31ade64a9d4813895 /drv_WincorNixdorf.c
parent2e3071dcce41c459bc1864fbe47e1c1cc76dcd75 (diff)
downloadlcd4linux-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 'drv_WincorNixdorf.c')
-rw-r--r--drv_WincorNixdorf.c2
1 files changed, 1 insertions, 1 deletions
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);