diff options
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1471,7 +1471,7 @@ pub fn Iterator(comptime Type: type) type { | |||
| 1471 | inline .@"struct", .@"union" => |TI| { | 1471 | inline .@"struct", .@"union" => |TI| { |
| 1472 | if (TI.layout == .@"packed" and !@hasField(FieldType, "readField")) { | 1472 | if (TI.layout == .@"packed" and !@hasField(FieldType, "readField")) { |
| 1473 | const Backing = @Type(.{ .int = .{ .signedness = .unsigned, .bits = @bitSizeOf(FieldType) } }); | 1473 | const Backing = @Type(.{ .int = .{ .signedness = .unsigned, .bits = @bitSizeOf(FieldType) } }); |
| 1474 | return @bitCast(try self.readInt(Backing, i)); | 1474 | return @bitCast(self.readInt(Backing, i)); |
| 1475 | } | 1475 | } |
| 1476 | 1476 | ||
| 1477 | const inner_value = try self.readField(FieldType.BaseType, options, i); | 1477 | const inner_value = try self.readField(FieldType.BaseType, options, i); |