From 1e88acc412702e4e3375f9e53ffc2c3600a4baa2 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 15 May 2006 16:31:21 +0000 Subject: [PATCH] Use id casts instead of void * casts. Suggested by thorpej. --- gnu/dist/gcc4/libobjc/Object.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/gcc4/libobjc/Object.m b/gnu/dist/gcc4/libobjc/Object.m index 62aceb1bc090..d9d68ee2e40f 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;