Index: src/OFThread.m ================================================================== --- src/OFThread.m +++ src/OFThread.m @@ -68,11 +68,11 @@ /* * Nasty workaround for thread implementations which can't return a * value on join. */ #ifdef OF_HAVE_BLOCKS - if (thread->block != nil) + if (thread->block != NULL) thread->returnValue = [thread->block(thread->object) retain]; else thread->returnValue = [[thread main] retain]; #else thread->returnValue = [[thread main] retain];