0
Fork 0
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:
Jacob Young 2022-09-26 06:20:54 -04:00
commit f14cc753d8
2 changed files with 16 additions and 2 deletions