From 59bc3ccafe6baa6dc982af4055fcc5a1f78fab17 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Thu, 26 Nov 2020 00:46:53 +0100 Subject: is_signed was replaced with .signedness --- query.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'query.zig') diff --git a/query.zig b/query.zig index 81f7333..eb62b47 100644 --- a/query.zig +++ b/query.zig @@ -115,7 +115,7 @@ pub const ParsedQuery = struct { if (type_info[0] == 'u' or type_info[0] == 'i') { return @Type(builtin.TypeInfo{ .Int = builtin.TypeInfo.Int{ - .is_signed = type_info[0] == 'i', + .signedness = if (type_info[0] == 'i') .signed else .unsigned, .bits = std.fmt.parseInt(usize, type_info[1..type_info.len], 10) catch { @compileError("invalid type info " ++ type_info); }, -- cgit v1.2.3