diff --git a/Tools/make_services.m b/Tools/make_services.m index 0c0c5c8bb..b3f23840b 100644 --- a/Tools/make_services.m +++ b/Tools/make_services.m @@ -303,12 +303,13 @@ validateEntry(id svcs, NSString *path) for (pos = 0; pos < [services count]; pos++) { id svc; - NSDictionary *service; - NSMutableDictionary *newService; svc = [services objectAtIndex: pos]; if ([svc isKindOfClass: [NSDictionary class]]) { + NSDictionary *service = (NSDictionary*)svc; + NSMutableDictionary *newService; + newService = validateService(service, path, pos); if (newService) {