Use id casts instead of void * casts. Suggested by thorpej.

This commit is contained in:
christos 2006-05-15 16:31:21 +00:00
parent 958e368bed
commit 1e88acc412

View File

@ -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;