Skip to content
Commit ea70e6f9 authored by Mikhail R. Gadelha's avatar Mikhail R. Gadelha
Browse files

[libc] Fix compilation on 32-bit systems

This fixes the following compilation error: no known conversion from 'off_t *'
(aka 'long long *') to 'long' for 5th argument.

Since pointers are 32-bit long anyway, casting it to long shouldn't be a
problem. Tested on rv32.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D157792
parent c8eeee2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment