From 8f1a9464a2d8703b6ea9080fcc127fe5c8190575 Mon Sep 17 00:00:00 2001 From: "Genkagaku.GPT" Date: Sun, 5 May 2024 09:09:53 +0800 Subject: [PATCH] fix: asio failed by timeinfo flags type (#880) --- asio-sys/src/bindings/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asio-sys/src/bindings/mod.rs b/asio-sys/src/bindings/mod.rs index 27fd5e0..5b8edd4 100644 --- a/asio-sys/src/bindings/mod.rs +++ b/asio-sys/src/bindings/mod.rs @@ -1047,7 +1047,7 @@ extern "C" fn buffer_switch(double_buffer_index: c_long, direct_process: c_long) // kSampleRateChanged = 1 << 4, // kClockSourceChanged = 1 << 5 // } AsioTimeInfoFlags; - .0; + .0 as _; } time };