summaryrefslogtreecommitdiff
path: root/thirdparty/recastnavigation/Recast/Source/RecastContour.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-30 17:57:55 +0200
committerGitHub <noreply@github.com>2020-04-30 17:57:55 +0200
commit41ac6cfac155bc977bc619b74ac411b8887d9635 (patch)
tree849576a57908925f0e5aaf9ea5e1f1e0635a1ebc /thirdparty/recastnavigation/Recast/Source/RecastContour.cpp
parentf870118323f9f1e4cd7d3ea63e951a2214f63c48 (diff)
parent6ba546f98bd278dab7503e7c6b7f9166af525eda (diff)
Merge pull request #38364 from akien-mga/recast-57610fa
Recast: Update to upstream commit 57610fa (2019)
Diffstat (limited to 'thirdparty/recastnavigation/Recast/Source/RecastContour.cpp')
-rw-r--r--thirdparty/recastnavigation/Recast/Source/RecastContour.cpp2
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);