From 847cd41b010af8b7c5e48301e46fb527b0a0b6f9 Mon Sep 17 00:00:00 2001 From: elsid Date: Sat, 4 Apr 2020 01:16:55 +0200 Subject: [PATCH] Update recastnavigation to 57610fa6ef31b39020231906f8c5d40eaa8294ae --- extern/recastnavigation/.id | 2 +- extern/recastnavigation/Recast/Source/RecastContour.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extern/recastnavigation/.id b/extern/recastnavigation/.id index f15ce513c2..81e564671a 100644 --- a/extern/recastnavigation/.id +++ b/extern/recastnavigation/.id @@ -1 +1 @@ -c40188c796f089f89a42e0b939d934178dbcfc5c +57610fa6ef31b39020231906f8c5d40eaa8294ae diff --git a/extern/recastnavigation/Recast/Source/RecastContour.cpp b/extern/recastnavigation/Recast/Source/RecastContour.cpp index 277ab01501..6574c11b6b 100644 --- a/extern/recastnavigation/Recast/Source/RecastContour.cpp +++ b/extern/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 winding((char*)rcAlloc(sizeof(char)*cset.nconts, RC_ALLOC_TEMP)); + rcScopedDelete 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);