summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-08-31 16:36:05 +0200
committerGravatar Vincent Rischmann2021-08-31 16:36:05 +0200
commit0b702832c2a1eb47976a7b02b1ef4c05f2df6f6d (patch)
tree7cdb88b7e867b3b4b3c7e1ce5e896e9db1ce9730
parentMerge branch 'fix-latest-zig' (diff)
downloadzig-sqlite-0b702832c2a1eb47976a7b02b1ef4c05f2df6f6d.tar.gz
zig-sqlite-0b702832c2a1eb47976a7b02b1ef4c05f2df6f6d.tar.xz
zig-sqlite-0b702832c2a1eb47976a7b02b1ef4c05f2df6f6d.zip
fix the compile error from readArray
-rw-r--r--sqlite.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 6f8705b..d32b402 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -737,10 +737,10 @@ pub fn Iterator(comptime Type: type) type {
737 ret[size] = s; 737 ret[size] = s;
738 } 738 }
739 }, 739 },
740 else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), 740 else => @compileError("cannot read into array of " ++ @typeName(arr.child)),
741 } 741 }
742 }, 742 },
743 else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), 743 else => @compileError("cannot read into type " ++ @typeName(ret)),
744 } 744 }
745 return ret; 745 return ret;
746 } 746 }