Index: src/OFObject.m ================================================================== --- src/OFObject.m +++ src/OFObject.m @@ -780,11 +780,11 @@ - autorelease { /* * Cache OFAutoreleasePool since class lookups are expensive with the - * GNU runtime. + * GNU ABI. */ if (autoreleasePool == Nil) autoreleasePool = [OFAutoreleasePool class]; [autoreleasePool addObject: self]; Index: src/runtime/class.m ================================================================== --- src/runtime/class.m +++ src/runtime/class.m @@ -81,11 +81,12 @@ dtable = objc_sparsearray_new(); for (ml = cls->methodlist; ml != NULL; ml = ml->next) for (i = 0; i < ml->count; i++) objc_sparsearray_set(dtable, - ml->methods[i].sel.uid, ml->methods[i].imp); + (uint32_t)ml->methods[i].sel.uid, + ml->methods[i].imp); if ((cats = objc_categories_for_class(cls)) != NULL) { for (i = 0; cats[i] != NULL; i++) { unsigned int j;