diff --git a/llvm/bindings/ocaml/llvm/llvm_ocaml.c b/llvm/bindings/ocaml/llvm/llvm_ocaml.c index d6346ae7de2e..d087233a3ab1 100644 --- a/llvm/bindings/ocaml/llvm/llvm_ocaml.c +++ b/llvm/bindings/ocaml/llvm/llvm_ocaml.c @@ -571,7 +571,7 @@ LLVMTypeRef llvm_array_type(LLVMTypeRef ElementTy, value Count) { } /* llcontext -> lltype */ -LLVMTypeRef llvm_pointer_type(LLVMContextRef C, value AddressSpace) { +LLVMTypeRef llvm_pointer_type(LLVMContextRef C) { return LLVMPointerTypeInContext(C, 0); }