diff options
| author | christos <christos@NetBSD.org> | 2006-05-15 16:31:21 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-05-15 16:31:21 +0000 |
| commit | 1e88acc412702e4e3375f9e53ffc2c3600a4baa2 (patch) | |
| tree | 68bee49ae72a9265cbb6cf4d0d0504f00550019a /gnu | |
| parent | 958e368bed1421c28a0c066ca81263a475a1522f (diff) | |
Use id casts instead of void * casts. Suggested by thorpej.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/dist/gcc4/libobjc/Object.m | 2 |
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; |
