star-3dut

Generate meshes of simple geometric shapes
git clone git://git.meso-star.fr/star-3dut.git
Log | Files | Refs | README | LICENSE

commit 0ead667ddef23ea52ee05fbac932cabd1720b48e
parent 8345c18ab1655ba90baf49b77722f32d829d8b9e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 30 Nov 2016 14:47:00 +0100

Fix CL warnings

Diffstat:
Msrc/test_s3dut_utils.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test_s3dut_utils.h b/src/test_s3dut_utils.h @@ -32,9 +32,9 @@ dump_mesh_data(FILE* stream, const struct s3dut_mesh_data* data) } FOR_EACH(i, 0, data->nprimitives) { fprintf(stream, "f %lu %lu %lu\n", - data->indices[i*3+0] + 1, - data->indices[i*3+1] + 1, - data->indices[i*3+2] + 1); + (unsigned long)(data->indices[i*3+0] + 1), + (unsigned long)(data->indices[i*3+1] + 1), + (unsigned long)(data->indices[i*3+2] + 1)); } }