Re: [Kicad-developers] [PATCH] Clarify fabs() overload

2015-07-31 Thread Wayne Stambaugh
Patch committed in product branch r6024. Thanks. On 7/27/2015 6:49 PM, Simon Richter wrote: fabs(int) is not defined in the standard, so this is ambiguous. Moving the cast inside the argument clarifies which overload we want, and gives the correct return type. ---

[Kicad-developers] [PATCH] Clarify fabs() overload

2015-07-27 Thread Simon Richter
fabs(int) is not defined in the standard, so this is ambiguous. Moving the cast inside the argument clarifies which overload we want, and gives the correct return type. --- common/geometry/shape_poly_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git