1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: fix unsafe 0

This commit is contained in:
Alexander Medvednikov
2022-06-26 07:12:15 +03:00
parent ca30397e7a
commit cb60392302
9 changed files with 12 additions and 12 deletions

View File

@ -6,8 +6,8 @@ import rand
struct App {
mut:
gg &gg.Context = 0
ui &objects.UIParams = 0
gg &gg.Context = unsafe { 0 }
ui &objects.UIParams = unsafe { 0 }
rockets []objects.Rocket
frames [][]objects.Rocket
// i thought about using a fixed fifo queue for the frames but the array