aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorPeter Zotov <whitequark@whitequark.org>2013-11-03 08:27:08 +0000
committerPeter Zotov <whitequark@whitequark.org>2013-11-03 08:27:08 +0000
commitfed0b3414250b6dea1732e95d79163b00a2cb38e (patch)
tree1e5f2a9d0968261986ee8bfb0fc2c02c2c363eb0 /bindings
parent5e45051e0ee8917a88e84d799c5c90840d0c465b (diff)
downloadexternal_llvm-fed0b3414250b6dea1732e95d79163b00a2cb38e.zip
external_llvm-fed0b3414250b6dea1732e95d79163b00a2cb38e.tar.gz
external_llvm-fed0b3414250b6dea1732e95d79163b00a2cb38e.tar.bz2
[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r--bindings/ocaml/target/target_ocaml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/ocaml/target/target_ocaml.c b/bindings/ocaml/target/target_ocaml.c
index 86f8de0..4d0beff 100644
--- a/bindings/ocaml/target/target_ocaml.c
+++ b/bindings/ocaml/target/target_ocaml.c
@@ -92,7 +92,7 @@ CAMLprim value llvm_preferred_align_of_global(LLVMTargetDataRef TD,
/* DataLayout.t -> Llvm.lltype -> Int64.t -> int */
CAMLprim value llvm_element_at_offset(LLVMTargetDataRef TD, LLVMTypeRef Ty,
value Offset) {
- return Val_int(LLVMElementAtOffset(TD, Ty, Int_val(Offset)));
+ return Val_int(LLVMElementAtOffset(TD, Ty, Int64_val(Offset)));
}
/* DataLayout.t -> Llvm.lltype -> int -> Int64.t */