{
const AttributeDescription *desc = v_desc;
const AttrInfo *a = v_a;
- return desc - a->ai_desc;
+ return (unsigned)desc - (unsigned)a->ai_desc;
}
static int
)
{
const AttrInfo *a = v_a, *b = v_b;
- return a->ai_desc - b->ai_desc;
+ return (unsigned)a->ai_desc - (unsigned)b->ai_desc;
}
void
/* For shared sessions, conn is NULL. Only explicitly
* bound sessions will have non-NULL conn.
*/
- return lc1->conn - lc2->conn;
+ return (unsigned)lc1->conn - (unsigned)lc2->conn;
}
/*
{
const AttributeDescription *desc = v_desc;
const AttrInfo *a = v_a;
- return desc - a->ai_desc;
+ return (unsigned)desc - (unsigned)a->ai_desc;
}
static int
)
{
const AttrInfo *a = v_a, *b = v_b;
- return a->ai_desc - b->ai_desc;
+ return (unsigned)a->ai_desc - (unsigned)b->ai_desc;
}
void