// HACK: We're assuming that AString returns its internal buffer in its data() call and we're overwriting that buffer!
// It saves us one allocation and one memcpy of the entire compressed data
// It may not work on some STL implementations! (Confirmed working on MSVC 2008 & 2010)
a_Uncompressed.resize(a_UncompressedSize);
uLongfUncompressedSize=(uLongf)a_UncompressedSize;// On some architectures the uLongf is different in size to int, that may be the cause of the -5 error