Fixes for 64bit systems .. mostly cosmetic avoidance of compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2006-01-10 10:29:11 +00:00
parent dc79072c9f
commit 06981169ed
19 changed files with 105 additions and 62 deletions

View file

@ -88,7 +88,7 @@
*/
if (GSObjCIsInstance(_myTarget))
{
if ((int)GSObjCClass(_myProtocol) == 0x2)
if ((uintptr_t)GSObjCClass(_myProtocol) == 0x2)
{
mth = GSDescriptionForInstanceMethod(_myProtocol, aSelector);
}
@ -99,7 +99,7 @@
}
else
{
if ((int)GSObjCClass(_myProtocol) == 0x2)
if ((uintptr_t)GSObjCClass(_myProtocol) == 0x2)
{
mth = GSDescriptionForClassMethod(_myProtocol, aSelector);
}