uint32 key1, key2;
int32 key1, key2;
static int node_table_compare(const void *p1, const void *p2){    const graphnode *node1, *node2;    uint32 key1, key2;    node1 = *(const graphnode**) p1;    node2 = *(const graphnode**) p2;    if (sort_by_direct) {        key1 = node1->direct;        key2 = node2->direct;    } else {        key1 = node1->total;        key2 = node2->total;    }    if (key1 < key2)        return 1;    if (key1 > key2)        return -1;    return 0;}