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 dcba8ec14f
commit 6002eb7693
10 changed files with 425 additions and 319 deletions

View File

@@ -137,7 +137,7 @@ cmph_t *bmz8_new(cmph_config_t *mph, float c)
fprintf(stderr, "\tTraversing critical vertices.\n");
}
DEBUGP("Searching step\n");
visited = (char *)malloc(bmz8->n/8 + 1);
visited = (cmph_uint8 *)malloc(bmz8->n/8 + 1);
memset(visited, 0, bmz8->n/8 + 1);
used_edges = (cmph_uint8 *)malloc(bmz8->m/8 + 1);
memset(used_edges, 0, bmz8->m/8 + 1);