libluna: Fix compilation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-04-18 18:49:55 +02:00
parent 8560918931
commit 259ea86c20
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -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 {};
}