From 4eb995e1e23dfc3e84a6f5575326eade6bc6429e Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 14 Aug 2006 05:54:04 +0000 Subject: [lcd4linux @ 2006-08-14 05:54:03 by reinelt] minor warnings fixed, CFLAGS changed (no-strict-aliasing) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@694 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_LEDMatrix.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'drv_LEDMatrix.c') diff --git a/drv_LEDMatrix.c b/drv_LEDMatrix.c index 2df74fd..313942d 100644 --- a/drv_LEDMatrix.c +++ b/drv_LEDMatrix.c @@ -1,4 +1,4 @@ -/* $Id: drv_LEDMatrix.c,v 1.7 2006/08/13 18:45:25 harbaum Exp $ +/* $Id: drv_LEDMatrix.c,v 1.8 2006/08/14 05:54:04 reinelt Exp $ * * LED matrix driver for LCD4Linux * (see http://www.harbaum.org/till/ledmatrix for hardware) @@ -23,6 +23,9 @@ * * * $Log: drv_LEDMatrix.c,v $ + * Revision 1.8 2006/08/14 05:54:04 reinelt + * minor warnings fixed, CFLAGS changed (no-strict-aliasing) + * * Revision 1.7 2006/08/13 18:45:25 harbaum * Little cleanup ... * @@ -117,7 +120,8 @@ static void drv_LEDMatrix_blit(const int row, const int col, const int height, c struct timeval tv; unsigned char reply[256]; struct sockaddr_in cli_addr; - int fromlen, ack = 0; + socklen_t fromlen; + int ack = 0; int timeout = 10; for (r = row; r < row + height; r++) { -- cgit v1.2.3