mirror of
https://github.com/KernelSU-Next/loopdev.git
synced 2026-11-16 22:51:34 +00:00
Generalize some test code for multiple architectures (#49)
* Run rustfmt with current stable Signed-off-by: mulhern <amulhern@redhat.com> * Add try_into() call to convert size On some architectures, off_t is i32. Signed-off-by: mulhern <amulhern@redhat.com> * Change signature of create_backing_file Adapt caller's signatures. No signatures other than those of the direct callers need to be adapted. Signed-off-by: mulhern <amulhern@redhat.com> Signed-off-by: mulhern <amulhern@redhat.com>
This commit is contained in:
parent
5ba76236aa
commit
2f5763ff71
2 changed files with 6 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue