aboutsummaryrefslogtreecommitdiff
path: root/src/blob.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/blob.zig')
-rw-r--r--src/blob.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.zig b/src/blob.zig
index 96a6c7783..0d187bfdd 100644
--- a/src/blob.zig
+++ b/src/blob.zig
@@ -19,7 +19,7 @@ len: usize,
pub const Map = struct {
const MapContext = struct {
pub fn hash(_: @This(), s: u64) u32 {
- return @truncate(u32, s);
+ return @as(u32, @truncate(s));
}
pub fn eql(_: @This(), a: u64, b: u64, _: usize) bool {
return a == b;