From 1777a69818610d4ed8a93f661a45219d97e7f6c5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 29 Mar 2013 06:25:22 +0000 Subject: misc minor edits. - pass string size to BLI_timestr() to avoid possible buffer overrun. - quiet warning for mingw. - include guards for windows utf conversion funcs. - fix for mistage in edge-angle-selection check. - some style cleanup. --- extern/recastnavigation/recast-capi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern/recastnavigation') diff --git a/extern/recastnavigation/recast-capi.cpp b/extern/recastnavigation/recast-capi.cpp index 1cf8ed5546e..1c11d87f639 100644 --- a/extern/recastnavigation/recast-capi.cpp +++ b/extern/recastnavigation/recast-capi.cpp @@ -309,7 +309,7 @@ static inline void swapfunc(char* a, char* b, int n, int swaptype) #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) #define CMP(t, x, y) (cmp((t), (x), (y))) -static inline char * med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk) +static inline char *med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk) { return CMP(thunk, a, b) < 0 ? (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) -- cgit v1.2.3