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

examples: fix path_tracing.v compilation, using (*ptr) = expression

This commit is contained in:
Delyan Angelov
2020-04-23 12:19:04 +03:00
parent d5eafe79bd
commit fb97c2e01e
6 changed files with 12 additions and 20 deletions

View File

@@ -74,7 +74,7 @@ pub fn (x &AesCbc) encrypt_blocks(dst mut []byte, src_ []byte) {
} else {
src = src[x.block_size..]
}
*dst = dst[x.block_size..]
(*dst) = dst[x.block_size..]
}
// Save the iv for the next crypt_blocks call.