mirror of
https://github.com/vrc-get/vrc-get.git
synced 2026-06-21 09:58:08 +00:00
fix: bug
This commit is contained in:
parent
be9ae555d0
commit
d4519df55a
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ impl PartialVersion {
|
|||
if bytes.buf.len() == 0 {
|
||||
Ok(buf)
|
||||
} else {
|
||||
let len = buf.as_ptr() as usize - bytes.buf.as_ptr() as usize;
|
||||
let len = bytes.buf.as_ptr() as usize - buf.as_ptr() as usize;
|
||||
Ok(&buf[..len])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue