Fixed wingetopt.c

This commit is contained in:
davi
2005-01-21 21:14:55 +00:00
parent 70ad75cf97
commit c8b19092f1
4 changed files with 14 additions and 9 deletions

View File

@@ -6,14 +6,14 @@
int main(int argc, char **argv)
{
graph_iterator_t it;
uint32 i, neighbor;
cmph_uint32 i, neighbor;
graph_t *g = graph_new(5, 10);
fprintf(stderr, "Building random graph\n");
for (i = 0; i < 10; ++i)
{
uint32 v1 = i % 5;
uint32 v2 = (i*2) % 5;
cmph_uint32 v1 = i % 5;
cmph_uint32 v2 = (i*2) % 5;
if (v1 == v2) continue;
graph_add_edge(g, v1, v2);
DEBUGP("Added edge %u %u\n", v1, v2);