Build fix

Ansariel 2017-06-07 21:30:07 +02:00
parent 0c7ed286bb
commit 424faadc46
1 changed files with 2 additions and 2 deletions

View File

@ -2319,10 +2319,10 @@ U8* unzip_llsdNavMesh( bool& valid, unsigned int& outsize, std::istream& is, S32
U32 have = CHUNK-strm.avail_out;
result = (U8*) realloc(result, cur_size + have);
//result = (U8*) realloc(result, cur_size + have);
//if (result == NULL)
//{
//U8* pNew = (U8*) realloc(result, cur_size + have);
U8* pNew = (U8*) realloc(result, cur_size + have);
if (pNew == NULL)
{
LL_WARNS() << "Failed to unzip LLSD NavMesh block: can't reallocate memory, current size: " << cur_size << " bytes; requested " << cur_size + have << " bytes." << LL_ENDL;