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:
@@ -32,7 +32,7 @@ pub enum BodyType {
|
||||
pub struct Client {
|
||||
mut:
|
||||
conn net.TcpConn
|
||||
ssl_conn &openssl.SSLConn = 0
|
||||
ssl_conn &openssl.SSLConn = unsafe { 0 }
|
||||
reader io.BufferedReader
|
||||
pub:
|
||||
server string
|
||||
|
||||
@@ -3,8 +3,8 @@ module picohttpparser
|
||||
pub struct Response {
|
||||
fd int
|
||||
pub:
|
||||
date &u8 = 0
|
||||
buf_start &u8 = 0
|
||||
date &u8 = unsafe { 0 }
|
||||
buf_start &u8 = unsafe { 0 }
|
||||
pub mut:
|
||||
buf &u8 = 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user