commit d74054cf855ab88d073e21386b0126c2d9f64d9c
parent 3d987cccf4a644d87872b9aa8b9c256551da3310
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 5 Sep 2016 12:13:35 +0200
Fix a warning about constness.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_ssol_shape.c b/src/test_ssol_shape.c
@@ -33,7 +33,7 @@ main(int argc, char** argv)
struct ssol_punched_surface punched_surface;
struct ssol_carving carving;
struct ssol_quadric quadric;
- const double polygon[] = {
+ double polygon[] = {
-1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, -1.0, 0.f, -2.f
};
const size_t npolygon_verts = sizeof(polygon)/sizeof(double[2]);