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

all: fix all remaining unsafe 0 (#14856)

This commit is contained in:
yuyi
2022-06-26 22:04:23 +08:00
committed by GitHub
parent cb60392302
commit 5a79a54fe4
9 changed files with 10 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ import math
pub struct BitMap {
pub mut:
tf &TTF_File
buf &u8 = 0 // pointer to the memory buffer
buf &u8 = unsafe { 0 } // pointer to the memory buffer
buf_size int // allocated buf size in bytes
width int = 1 // width of the buffer
height int = 1 // height of the buffer