mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 09:45:00 +00:00
[OCaml] Llvm_target: fix typo (Int_val instead of Int64_val)
llvm-svn: 193948
This commit is contained in:
parent
1b0f7d035d
commit
500cb8d4ee
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user