Casts to appease gcc.
This commit is contained in:
parent
653a86901d
commit
07252f1516
|
@ -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 (self > anotherObject)
|
||||
else if ((void *)self > (void *)anotherObject)
|
||||
return 1;
|
||||
else
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue