Skip to content
Commit 36d423e2 authored by Xing Li's avatar Xing Li Committed by Adhemerval Zanella
Browse files

linux: Use long int for syscall return value



The linux syscall ABI returns long, so the generic syscall code for
linux should use long for the return value.

This fixes the truncation of the return value of the syscall function
when that does not fit into an int.
Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent 9f482b73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment