fix: integer type in llvm_count_params
This commit is contained in:
parent
4e52283728
commit
63d2bdd490
1 changed files with 1 additions and 1 deletions
|
|
@ -1022,7 +1022,7 @@ extern "C" LEAN_EXPORT lean_object * llvm_count_params(size_t ctx, size_t f,
|
|||
false && ("Please build a version of Lean4 with -DLLVM=ON to invoke "
|
||||
"the LLVM backend function."));
|
||||
#else
|
||||
int n = LLVMCountParams(lean_to_Value(f));
|
||||
unsigned n = LLVMCountParams(lean_to_Value(f));
|
||||
return lean_io_result_mk_ok(lean_box_uint64(n));
|
||||
#endif // LEAN_LLVM
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue