| ... | @@ -212,7 +212,7 @@ pub const IO_Uring = struct { | ... | @@ -212,7 +212,7 @@ pub const IO_Uring = struct { |
| 212 | linux.EINTR => return error.SignalInterrupt, | 212 | linux.EINTR => return error.SignalInterrupt, |
| 213 | else => |errno| return os.unexpectedErrno(errno) | 213 | else => |errno| return os.unexpectedErrno(errno) |
| 214 | } | 214 | } |
| 215 | return @truncate(u32, res); | 215 | return @intCast(u32, res); |
| 216 | } | 216 | } |
| 217 | | 217 | |
| 218 | /// Sync internal state with kernel ring state on the SQ side. | 218 | /// Sync internal state with kernel ring state on the SQ side. |