]> err.no Git - sope/blobdiff - sope-core/NGExtensions/NGObjCRuntime.m
improved Tiger support in bundle manager
[sope] / sope-core / NGExtensions / NGObjCRuntime.m
index c95c7b2d2414c3e6fec0c51ce41a95bb473345f2..2f1174fa0802aac152edccb8acc076b3950188d2 100644 (file)
@@ -677,9 +677,10 @@ fillMethodListWithSpecs(MethodList_t methods, SEL _selector, va_list *va)
     }
     
 #if !LIB_FOUNDATION_LIBRARY
-    names[i] = [NSString stringWithCString:ivarName];
+    names[i] = [NSString stringWithCString:(char *)ivarName];
 #else
-    names[i] = [NSString stringWithCStringNoCopy:ivarName freeWhenDone:NO];
+    names[i] = [NSString stringWithCStringNoCopy:(char *)ivarName
+                        freeWhenDone:NO];
 #endif
   }