diff options
Diffstat (limited to 'thirdparty/recastnavigation/Recast/Source/RecastContour.cpp')
| -rw-r--r-- | thirdparty/recastnavigation/Recast/Source/RecastContour.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/recastnavigation/Recast/Source/RecastContour.cpp b/thirdparty/recastnavigation/Recast/Source/RecastContour.cpp index 277ab01501..6574c11b6b 100644 --- a/thirdparty/recastnavigation/Recast/Source/RecastContour.cpp +++ b/thirdparty/recastnavigation/Recast/Source/RecastContour.cpp @@ -1009,7 +1009,7 @@ bool rcBuildContours(rcContext* ctx, rcCompactHeightfield& chf,  	if (cset.nconts > 0)  	{  		// Calculate winding of all polygons. -		rcScopedDelete<char> winding((char*)rcAlloc(sizeof(char)*cset.nconts, RC_ALLOC_TEMP)); +		rcScopedDelete<signed char> winding((signed char*)rcAlloc(sizeof(signed char)*cset.nconts, RC_ALLOC_TEMP));  		if (!winding)  		{  			ctx->log(RC_LOG_ERROR, "rcBuildContours: Out of memory 'hole' (%d).", cset.nconts);  |