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 /drv_WincorNixdorf.c | |
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 'drv_WincorNixdorf.c')
-rw-r--r-- | drv_WincorNixdorf.c | 2 |
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); |