summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/gcc4/libobjc/Object.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/dist/gcc4/libobjc/Object.m b/gnu/dist/gcc4/libobjc/Object.m
index 62aceb1bc09..d9d68ee2e40 100644
--- a/gnu/dist/gcc4/libobjc/Object.m
+++ b/gnu/dist/gcc4/libobjc/Object.m
@@ -121,7 +121,7 @@ extern int errno;
return 0;
// Ordering objects by their address is pretty useless,
// so subclasses should override this is some useful way.
- else if ((void *)self > (void *)anotherObject)
+ else if ((id)self > (id)anotherObject)
return 1;
else
return -1;