From 50c324b28583355740199c8c22a5c4d8bd63c050 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 18 Sep 2010 16:06:21 +0000 Subject: - Clean up warnings when building with GCC --- Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m index 35ef0e7e..5c607912 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPStreamingResult.m @@ -46,7 +46,7 @@ @interface MCPStreamingResult (PrivateAPI) -const char *_bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf); +void _bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf); - (void) _downloadAllData; - (void) _freeAllDataWhenDone; @@ -430,7 +430,7 @@ const char *_bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf); * Provides a binary representation of the supplied chars (n) in the supplied buffer (buf). The resulting * binary representation will be zero-padded according to the supplied field length (len). */ -const char *_bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf) +void _bytes2bin(Byte *n, NSUInteger nbytes, NSUInteger len, char *buf) { int i = 0; -- cgit v1.2.3