Changed igraph_t to int, all tests pass (!). #570.