libluna: Fix compilation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8560918931
commit
259ea86c20
@ -201,7 +201,7 @@ template <> class Result<void>
|
||||
|
||||
static Result<void> from_syscall(long rc)
|
||||
{
|
||||
if (rc < 0) return Error { -rc };
|
||||
if (rc < 0) return Error { (int)-rc };
|
||||
|
||||
return {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user