diff --git a/ChangeLog b/ChangeLog index cc7ac9310..48d1d92ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-15 Richard Frith-Macdonald + + * Source/NSObject.m: Trivial cast to avoid compiler warnings. + 2003-08-20 13:59 Alexander Malmberg Clean up code to remove warnings issued by (what will become) diff --git a/Source/NSNumber.m b/Source/NSNumber.m index 31bba7914..9732bff36 100644 --- a/Source/NSNumber.m +++ b/Source/NSNumber.m @@ -673,7 +673,7 @@ static Class doubleNumberClass; * long * %li * long long - * %li + * %lli * unsigned char * %u * unsigned short @@ -683,7 +683,7 @@ static Class doubleNumberClass; * unsigned long * %lu * unsigned long long - * %lu + * %llu * float * %0.7g * double diff --git a/Source/NSObject.m b/Source/NSObject.m index 65e575bbc..4d9d6c6ed 100644 --- a/Source/NSObject.m +++ b/Source/NSObject.m @@ -716,7 +716,7 @@ GSDescriptionForInstanceMethod(pcl self, SEL aSel) { for (i = 0; i < p_list->count; i++) { - result = GSDescriptionForInstanceMethod(p_list->list[i], aSel); + result = GSDescriptionForInstanceMethod((pcl)p_list->list[i], aSel); if (result) { return result; @@ -747,7 +747,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel) { for (i = 0; i < p_list->count; i++) { - result = GSDescriptionForClassMethod(p_list->list[i], aSel); + result = GSDescriptionForClassMethod((pcl)p_list->list[i], aSel); if (result) { return result;