From eea922593e61a71d3f231578f1e8c4c7f035ec9c Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sun, 10 Aug 2008 23:36:33 +0200 Subject: Fix compilation with gcc 4.3 -Wall -Werror -Wno-pointer-sign Signed-off-by: Matt Colyer --- src/AFC.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AFC.c') diff --git a/src/AFC.c b/src/AFC.c index 18e7cf9..e3f0bba 100644 --- a/src/AFC.c +++ b/src/AFC.c @@ -20,7 +20,7 @@ */ #include "AFC.h" - +#include "plist.h" // This is the maximum size an AFC data packet can be const int MAXIMUM_PACKET_SIZE = (2 << 15) - 32; @@ -211,7 +211,7 @@ static int receive_AFC_data(AFClient *client, char **dump_here) { break; } if (strstr(buffer, "CFA6LPAA")) { - if (debug) printf("receive_AFC_data: WARNING: there is AFC data in this packet at %i\n", strstr(buffer, "CFA6LPAA") - buffer); + if (debug) printf("receive_AFC_data: WARNING: there is AFC data in this packet at %ti\n", strstr(buffer, "CFA6LPAA") - buffer); if (debug) printf("receive_AFC_data: the total packet length is %i\n", bytes); //continue; // but we do need to continue because packets/headers != data } -- cgit v1.1-32-gdbae