summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbc7c0d36d019df6eb1408c663b7523c62a548b85 (patch)
treef46650cc1a0461061eedaff8187859202f8a805b /llvm/bindings
parentf1d807ee1338d853c4550271c3057fb2161216ef (diff)
downloadbcm5719-llvm-bc7c0d36d019df6eb1408c663b7523c62a548b85.tar.gz
bcm5719-llvm-bc7c0d36d019df6eb1408c663b7523c62a548b85.zip
[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
llvm-svn: 193948
Diffstat (limited to 'llvm/bindings')
-rw-r--r--llvm/bindings/ocaml/target/target_ocaml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/bindings/ocaml/target/target_ocaml.c b/llvm/bindings/ocaml/target/target_ocaml.c
index 86f8de023da..4d0beffa5de 100644
--- a/llvm/bindings/ocaml/target/target_ocaml.c
+++ b/llvm/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 */
OpenPOWER on IntegriCloud