mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
update []
This commit is contained in:
@@ -163,7 +163,7 @@ fn (d mut Digest) write(p_ []byte) int {
|
||||
d.nx = 0
|
||||
}
|
||||
if n >= p.len {
|
||||
p = []byte
|
||||
p = []
|
||||
} else {
|
||||
p = p[n..]
|
||||
}
|
||||
@@ -172,7 +172,7 @@ fn (d mut Digest) write(p_ []byte) int {
|
||||
n := p.len &~ (Chunk - 1)
|
||||
block(mut d, p[..n])
|
||||
if n >= p.len {
|
||||
p = []byte
|
||||
p = []
|
||||
} else {
|
||||
p = p[n..]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user