summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-05-15 16:31:21 +0000
committerchristos <christos@NetBSD.org>2006-05-15 16:31:21 +0000
commit1e88acc412702e4e3375f9e53ffc2c3600a4baa2 (patch)
tree68bee49ae72a9265cbb6cf4d0d0504f00550019a /gnu
parent958e368bed1421c28a0c066ca81263a475a1522f (diff)
Use id casts instead of void * casts. Suggested by thorpej.
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;