diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-14 05:54:04 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-14 05:54:04 +0000 |
commit | 4eb995e1e23dfc3e84a6f5575326eade6bc6429e (patch) | |
tree | 9deacddbcd9b53939d28bcebeca70c38be8b2a8f /drv_LEDMatrix.c | |
parent | 1e0c4359a63a0492dce3a1e990d8938e8d0b5147 (diff) | |
download | lcd4linux-4eb995e1e23dfc3e84a6f5575326eade6bc6429e.tar.gz |
[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
Diffstat (limited to 'drv_LEDMatrix.c')
-rw-r--r-- | drv_LEDMatrix.c | 8 |
1 files changed, 6 insertions, 2 deletions
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++) { |