commit f4685ee33799a4d70c1756b67f1e0cbc2d558012
parent 4b3469fb5b7fd28e9d8c53865bcd35a164d64e17
Author: vaplv <vaplv@free.fr>
Date: Wed, 5 Oct 2016 14:45:04 +0200
Fix a warning on the CL compiler
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_math.c b/src/test_math.c
@@ -114,7 +114,7 @@ main(int argc, char** argv)
CHECK(eq_eps(MRAD2DEG(MDEG2RAD(70.0)), 70.0, 1.e-8), 1);
FOR_EACH(i, 0, 16) {
- double d, c, s, tmp;
+ double c, s, tmp;
d = ((float)rand() / (float)RAND_MAX) * PI;
c = cos(d);
s = sin(d);