diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-21 19:35:36 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-03-21 19:35:36 +0100 |
commit | 8be717167ed77f5a1021fa0825b386674c5c1a39 (patch) | |
tree | 23651b5bfb9e52ec8138e382e12bf8f072a2bbb9 /crates/libmpv2/src/lib.rs | |
parent | build(treewide): Update (diff) | |
download | yt-8be717167ed77f5a1021fa0825b386674c5c1a39.zip |
chore(treewide): Migrate to rust edition 2024
Even though the diff in the libmpv2 crate is quite big, it really only added `unsafe` blocks to the `unsafe` functions.
Diffstat (limited to 'crates/libmpv2/src/lib.rs')
-rw-r--r-- | crates/libmpv2/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libmpv2/src/lib.rs b/crates/libmpv2/src/lib.rs index d47e620..f6c2103 100644 --- a/crates/libmpv2/src/lib.rs +++ b/crates/libmpv2/src/lib.rs @@ -35,7 +35,7 @@ use std::os::raw as ctype; pub const MPV_CLIENT_API_MAJOR: ctype::c_ulong = 2; pub const MPV_CLIENT_API_MINOR: ctype::c_ulong = 2; pub const MPV_CLIENT_API_VERSION: ctype::c_ulong = - MPV_CLIENT_API_MAJOR << 16 | MPV_CLIENT_API_MINOR; + (MPV_CLIENT_API_MAJOR << 16) | MPV_CLIENT_API_MINOR; mod mpv; #[cfg(test)] |