mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
e43468f066
In particular, Android targets use c_int whereas normal Linux targets use c_ulong. An ioctl number should always fit in 16 bits, so casting from c_uint (as bindgen uses for the constants) to either other type should be safe. BUG=b:158290206 TEST=cargo test Change-Id: I3d808ba9a5588a75c029a299e3609d97e328e3cc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2288229 Tested-by: kokoro <noreply+kokoro@google.com> Auto-Submit: Andrew Walbran <qwandor@google.com> Commit-Queue: Andrew Walbran <qwandor@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |