star-mesh

Define and load a binary data format for meshes
git clone git://git.meso-star.fr/star-mesh.git
Log | Files | Refs | README | LICENSE

commit cd91520c1baa0db1a0a16f26acf0dc04a6beab0e
parent 45a7de87a0de2e5811c10dd4280de24d0dfb5a26
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 25 Mar 2022 17:03:35 +0100

Fix compilation error

Diffstat:
Msrc/smsh.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/smsh.c b/src/smsh.c @@ -46,7 +46,7 @@ reset_smsh(struct smsh* smsh) smsh->pagesize = 0; if(smsh->nodes && smsh->nodes != MAP_FAILED) munmap(smsh->nodes, smsh->map_len_nodes); - if(smsh->cells && smsm->cells != MAP_FAILED) + if(smsh->cells && smsh->cells != MAP_FAILED) munmap(smsh->cells, smsh->map_len_cells); smsh->nodes = NULL; smsh->cells = NULL;