From db49904c6d64ad07950d53f247ec9c8e700958ac Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 10 Jul 2026 16:55:27 +0200 Subject: [PATCH] =?UTF-8?q?fix(core):=20un-break=20win64=20clippy=20?= =?UTF-8?q?=E2=80=94=20RawSocket=20is=20already=20u64,=20the=20cast=20is?= =?UTF-8?q?=20same-type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI's Windows clippy (-D warnings) rejects `raw as u64` in the qWAVE flow guard: std's RawSocket is u64 on Windows, so the cast is a no-op (clippy::unnecessary_cast). Verified with the CI's exact invocation (cargo clippy -p punktfunk-host --features nvenc,amf-qsv -- -D warnings) on the RTX box. Co-Authored-By: Claude Fable 5 --- crates/punktfunk-core/src/transport/qos_windows.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/punktfunk-core/src/transport/qos_windows.rs b/crates/punktfunk-core/src/transport/qos_windows.rs index ea5f0854..5aa9ff83 100644 --- a/crates/punktfunk-core/src/transport/qos_windows.rs +++ b/crates/punktfunk-core/src/transport/qos_windows.rs @@ -102,8 +102,9 @@ pub(super) fn add_media_flow(socket: &UdpSocket, class: MediaClass) -> Option