diff --git a/object.c b/object.c
index 427e14cae2deb42138a439f7b2d69d3e06bb9417..cf5931a9423cb2ecdd9f34e6c33ed0b714ce61bf 100644 (file)
--- a/object.c
+++ b/object.c
{
const struct object * const *pa = a;
const struct object * const *pb = b;
{
const struct object * const *pa = a;
const struct object * const *pb = b;
- return *pa - *pb;
+ if (*pa == *pb)
+ return 0;
+ else if (*pa < *pb)
+ return -1;
+ else
+ return 1;
}
void set_object_refs(struct object *obj, struct object_refs *refs)
}
void set_object_refs(struct object *obj, struct object_refs *refs)