[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
This commit is contained in:
Peter Zotov 2013-11-03 08:27:08 +00:00
parent 5e45051e0e
commit fed0b34142

View File

@ -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 */