i was expecting kenc to complain about the
a < 0 test, which can never be true.

int
fetchicmp(Fetchi *f1, Fetchi *f2)
{
        uvlong a, b;

        a = f1->uid;
        b = f2->uid;

        a -= b;
        if(a > 0)
                return 1;
        if(a < 0)
                return -1;
        return 0;
}

- erik

Reply via email to