mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
use @ptrCast to assigned generic type to default_value
If the type happens to be a pointer, then the double pointer will not coerce implicitly.
This commit is contained in:
parent
6d7b0690a0
commit
f14cc753d8
2 changed files with 16 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue