compilation errors corrected and license updated to MOZILLA PUBLIC LICENSE

This commit is contained in:
fc_botelho
2006-04-27 17:30:19 +00:00
parent d5bfc91289
commit 1643b7400b
10 changed files with 425 additions and 319 deletions

View File

@@ -106,7 +106,7 @@ cmph_t *chm_new(cmph_config_t *mph, float c)
fprintf(stderr, "Starting assignment step\n");
}
DEBUGP("Assignment step\n");
visited = (char *)malloc(chm->n/8 + 1);
visited = (cmph_uint8 *)malloc(chm->n/8 + 1);
memset(visited, 0, chm->n/8 + 1);
free(chm->g);
chm->g = malloc(chm->n * sizeof(cmph_uint32));