Updated cast syntax in code samples.

This commit is contained in:
Christoffer Lerno
2021-05-18 17:23:27 +02:00
parent 216467cbf8
commit fc31c15914
50 changed files with 113 additions and 2770 deletions

View File

@@ -8,6 +8,6 @@ union Xu
func Xu foo()
{
Xu a;
a.b = cast(123 as void*);
a.b = (void*)(123);
return a;
}