summaryrefslogtreecommitdiff
path: root/helpers.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2022-12-26 11:00:59 +0100
committerGravatar Vincent Rischmann2022-12-26 11:00:59 +0100
commit30b15ec78390c31b4456e9b600ccabe7481cc5ea (patch)
tree20b5419c17f779a87a2798eba96eb7ae84e57300 /helpers.zig
parentstop using removed ascii functions (diff)
downloadzig-sqlite-30b15ec78390c31b4456e9b600ccabe7481cc5ea.tar.gz
zig-sqlite-30b15ec78390c31b4456e9b600ccabe7481cc5ea.tar.xz
zig-sqlite-30b15ec78390c31b4456e9b600ccabe7481cc5ea.zip
fix for latest zig
Diffstat (limited to '')
-rw-r--r--helpers.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.zig b/helpers.zig
index aa04f54..7bcbabe 100644
--- a/helpers.zig
+++ b/helpers.zig
@@ -84,5 +84,5 @@ fn sliceFromValue(sqlite_value: *c.sqlite3_value) []const u8 {
84 const value = c.sqlite3_value_text(sqlite_value); 84 const value = c.sqlite3_value_text(sqlite_value);
85 debug.assert(value != null); // TODO(vincent): how do we handle this properly ? 85 debug.assert(value != null); // TODO(vincent): how do we handle this properly ?
86 86
87 return value.?[0..size]; 87 return value[0..size];
88} 88}