diff options
author | Christophe Fergeau | 2008-08-10 23:36:33 +0200 |
---|---|---|
committer | Matt Colyer | 2008-08-11 09:39:06 -0700 |
commit | eea922593e61a71d3f231578f1e8c4c7f035ec9c (patch) | |
tree | 823d5ae4e53be4b83377ab205b1aed94fe06c021 /src/AFC.c | |
parent | 323459826aeea8b88872e14af9839a0912a80503 (diff) | |
download | libplist-eea922593e61a71d3f231578f1e8c4c7f035ec9c.tar.gz libplist-eea922593e61a71d3f231578f1e8c4c7f035ec9c.tar.bz2 |
Fix compilation with gcc 4.3 -Wall -Werror -Wno-pointer-sign
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/AFC.c')
-rw-r--r-- | src/AFC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |