zib works in Dubug, not in Release

2010-08-30 Thread Trygve Inda
I am uncompressing data with zlib: err = uncompress( buffer, bufferLength, (const Bytef*)data + sizeof( uLongf ), [self length] - sizeof( uLongf ) ); This works when I build a debug target, but not when I build a release target. I have verified the data sent into each target is the same. In

Re: zib works in Dubug, not in Release

2010-08-30 Thread Trygve Inda
I am uncompressing data with zlib: err = uncompress( buffer, bufferLength, (const Bytef*)data + sizeof( uLongf ), [self length] - sizeof( uLongf ) ); This works when I build a debug target, but not when I build a release target. I have verified the data sent into each target is the