From e01840e8b3e6bc4f0798ea0ebd128a80c22e0cde Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 26 Feb 2007 10:29:46 +0000 Subject: compiler warnings on x86_64 fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@774 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_BeckmannEgle.c | 2 +- drv_LEDMatrix.c | 4 ++-- 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); -- cgit v1.2.3 d>
path: root/plugin_event.c (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2011-07-27hwmon patch from Hans de Goedemichael1-0/+14
2011-07-27patch to support SureElectronicsDE-LD023 from Matt Joicemichael1-3/+16
2011-05-06Fixed keypad widget in GLCD2USBharbaum1-0/+7
2011-02-12timer.c: fixed detection of positive clock skew (and some typos)mzuther4-10/+10
2011-01-23timer.c: fixed clock skew detectionmzuther1-26/+46
2011-01-23timer.c: skip intermediate timer intervalsmzuther2-16/+46
2011-01-05fix for a bug introduced in the DE-LD021 drivermichael1-3/+3
2011-01-04indentationmichael2-3/+3
2011-01-04support for Sure Electronics DE-LD021 by Natanael Olaizmichael1-10/+8
2011-01-02driver for EFN LED modules by Tilman Glötznermichael9-21/+469
2010-11-28commented, corrected and beautified both timer and timer group codemzuther11-197/+511
2010-11-27finished commenting the timer codemzuther2-46/+138
2010-11-20started commenting the timer codemzuther5-52/+170
2010-11-19Added brightness support for GLCD2USBharbaum5-28/+8014