diff --git a/Testing/nsnotification.m b/Testing/nsnotification.m index bb9587512..3e799f55a 100644 --- a/Testing/nsnotification.m +++ b/Testing/nsnotification.m @@ -16,12 +16,12 @@ - (void) gotNotificationFoo: (NSNotification*)not { - printf ("Got %@\n", [not name]); + printf ("Got %s\n", [[not name] cStringNoCopy]); } - (void) gotNotificationFooNoObject: (NSNotification*)not { - printf ("Got %@ without object\n", [not name]); + printf ("Got %s without object\n", [[not name] cStringNoCopy]); } @end