mozilla / cubeb-pulse-rs

ISC License
15 stars 17 forks source link

Fix clippy warning on nightly for i64 cast #83

Closed ashleyz closed 1 year ago

kinetiknz commented 1 year ago

This cast is necessary on some platforms - data_callback returns c_long, which can differ in size. We can add an #[allow(clippy::unnecessary_cast)] instead, which might need a #[allow(unknown_lints)] above it while unnecessary_cast is only in nightly clippy.