diff --git a/ChangeLog b/ChangeLog index 9858dceff..3f0469400 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-02-25 Richard Frith-Macdonald + + * Source/ObjectiveC2/runtime.c: + * Source/ObjectiveC2/blocks_runtime.m: + Avoid compiler warnings. + 2010-02-25 Richard Frith-Macdonald * Source/NSAssertionHandler.m: diff --git a/Source/ObjectiveC2/blocks_runtime.m b/Source/ObjectiveC2/blocks_runtime.m index 817d2dbff..25e0151da 100644 --- a/Source/ObjectiveC2/blocks_runtime.m +++ b/Source/ObjectiveC2/blocks_runtime.m @@ -26,6 +26,7 @@ #import "blocks_runtime.h" #import "runtime.h" #include +#include #include #include diff --git a/Source/ObjectiveC2/runtime.c b/Source/ObjectiveC2/runtime.c index 5160cf60e..38c8fdb8b 100644 --- a/Source/ObjectiveC2/runtime.c +++ b/Source/ObjectiveC2/runtime.c @@ -68,7 +68,7 @@ void __objc_update_dispatch_table_for_class(Class); * Private runtime function for determining whether a class responds to a * selector. */ -BOOL __objc_responds_to(Class, SEL); +BOOL __objc_responds_to(id, SEL); /** * Runtime library constant for uninitialized dispatch table. */