diff -r 29e8b03c05d4 -r cb9cdf247239 BLIP/BLIPProperties.m --- a/BLIP/BLIPProperties.m Tue Jun 03 16:56:33 2008 -0700 +++ b/BLIP/BLIPProperties.m Wed Apr 22 16:45:39 2009 -0700 @@ -69,7 +69,7 @@ else props = [BLIPProperties properties]; - *usedLength = props ?length :-1; + *usedLength = props ?(ssize_t)length :-1; return props; } @@ -132,7 +132,7 @@ goto fail; // The data consists of consecutive NUL-terminated strings, alternating key/value: - unsigned capacity = 0; + int capacity = 0; const char *end = bytes+length; for( const char *str=bytes; str < end; str += strlen(str)+1, _nStrings++ ) { if( _nStrings >= capacity ) { @@ -285,7 +285,7 @@ static void appendStr( NSMutableData *data, NSString *str ) { const char *utf8 = [str UTF8String]; size_t size = strlen(utf8)+1; - for( int i=0; i