From b75bde63215b6d158579611c40d950099faf83d9 Mon Sep 17 00:00:00 2001 From: Alan Hu Date: Thu, 13 Oct 2022 10:07:06 -0700 Subject: [PATCH] [llvm-ocaml] Fix arity mismatch in pointer bindings Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D135842 --- llvm/bindings/ocaml/llvm/llvm_ocaml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }