land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git] / include / llvm-c / Core.h
index a4456dd13e4b13312b13537fa46542baa70db640..9e20ed6f744afb8d55cfa9a89c4d8b158c9ecb0c 100644 (file)
@@ -1136,7 +1136,7 @@ namespace llvm {
     return reinterpret_cast<Type**>(Tys);
   }
   
-  inline LLVMTypeRef *wrap(const Type **Tys) {
+  inline LLVMTypeRef *wrap(Type **Tys) {
     return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
   }