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:
@@ -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
|
||||
|
Reference in New Issue
Block a user