summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 0571ef8..097c7a9 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -645,7 +645,7 @@ pub fn Iterator(comptime Type: type) type {
645 u8 => { 645 u8 => {
646 const size = @intCast(usize, c.sqlite3_column_bytes(self.stmt, i)); 646 const size = @intCast(usize, c.sqlite3_column_bytes(self.stmt, i));
647 if (arr.sentinel == null) { 647 if (arr.sentinel == null) {
648 if (size != arr.len) return error.ArraySizeMisMatch; 648 if (size != arr.len) return error.ArraySizeMismatch;
649 } else if (size >= @as(usize, arr.len)) { 649 } else if (size >= @as(usize, arr.len)) {
650 return error.ArrayTooSmall; 650 return error.ArrayTooSmall;
651 } 651 }