diff options
| -rw-r--r-- | query.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -115,7 +115,7 @@ pub const ParsedQuery = struct { | |||
| 115 | if (type_info[0] == 'u' or type_info[0] == 'i') { | 115 | if (type_info[0] == 'u' or type_info[0] == 'i') { |
| 116 | return @Type(builtin.TypeInfo{ | 116 | return @Type(builtin.TypeInfo{ |
| 117 | .Int = builtin.TypeInfo.Int{ | 117 | .Int = builtin.TypeInfo.Int{ |
| 118 | .is_signed = type_info[0] == 'i', | 118 | .signedness = if (type_info[0] == 'i') .signed else .unsigned, |
| 119 | .bits = std.fmt.parseInt(usize, type_info[1..type_info.len], 10) catch { | 119 | .bits = std.fmt.parseInt(usize, type_info[1..type_info.len], 10) catch { |
| 120 | @compileError("invalid type info " ++ type_info); | 120 | @compileError("invalid type info " ++ type_info); |
| 121 | }, | 121 | }, |