diff options
| author | 2020-11-26 00:46:53 +0100 | |
|---|---|---|
| committer | 2020-11-26 00:46:53 +0100 | |
| commit | 59bc3ccafe6baa6dc982af4055fcc5a1f78fab17 (patch) | |
| tree | 252275d2c1137dbd78dd74cce3f9b275bd29360d /query.zig | |
| parent | Merge branch 'read-into-void' into master (diff) | |
| download | zig-sqlite-59bc3ccafe6baa6dc982af4055fcc5a1f78fab17.tar.gz zig-sqlite-59bc3ccafe6baa6dc982af4055fcc5a1f78fab17.tar.xz zig-sqlite-59bc3ccafe6baa6dc982af4055fcc5a1f78fab17.zip | |
is_signed was replaced with .signedness
Diffstat (limited to '')
| -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 | }, |