gpu: remove pointless and errorful cast
happens on 32bit targets
This commit is contained in:
parent
18ad648e68
commit
f750f752ef
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ pub const Queue = opaque {
|
||||||
buffer,
|
buffer,
|
||||||
buffer_offset_bytes,
|
buffer_offset_bytes,
|
||||||
@ptrCast(*const anyopaque, data_slice.ptr),
|
@ptrCast(*const anyopaque, data_slice.ptr),
|
||||||
@intCast(u64, data_slice.len) * @sizeOf(std.meta.Elem(@TypeOf(data_slice))),
|
data_slice.len * @sizeOf(std.meta.Elem(@TypeOf(data_slice))),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue