aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drv_BeckmannEgle.c2
-rw-r--r--drv_LEDMatrix.c4
-rw-r--r--drv_WincorNixdorf.c2
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);