From 0b4098455ae8c00c03c0a07cc578143a61343169 Mon Sep 17 00:00:00 2001 From: Peter LaValle Date: Tue, 4 Oct 2016 12:47:41 +0100 Subject: silence double to float warnings --- linmath.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linmath.h b/linmath.h index c1c3ab5..af82e59 100644 --- a/linmath.h +++ b/linmath.h @@ -25,7 +25,7 @@ static inline void vec##n##_scale(vec##n r, vec##n const v, float const s) \ } \ static inline float vec##n##_mul_inner(vec##n const a, vec##n const b) \ { \ - float p = 0.; \ + float p = 0.f; \ int i; \ for(i=0; i