summaryrefslogtreecommitdiff
path: root/stream/obj_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/obj_simple.c')
-rw-r--r--stream/obj_simple.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream/obj_simple.c b/stream/obj_simple.c
index c674f056..b87a3cf1 100644
--- a/stream/obj_simple.c
+++ b/stream/obj_simple.c
@@ -292,6 +292,9 @@ fz_objcmp(fz_obj *a, fz_obj *b)
return 1;
}
return 0;
+
+ case FZ_POINTER:
+ return (char *) a->u.p - (char *) b->u.p;
}
return 1;
}