Skip to content

Commit

Permalink
chore(clippy): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Nov 25, 2023
1 parent 9ce5107 commit 5501427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vorbis_rs/src/common/ogg.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{io::Write, mem::MaybeUninit, slice};
use std::{io::Write, mem::MaybeUninit, os::raw::c_int, slice};

use ogg_next_sys::{
ogg_packet, ogg_page, ogg_stream_clear, ogg_stream_flush, ogg_stream_init, ogg_stream_packetin,
Expand Down Expand Up @@ -54,7 +54,7 @@ impl OggStream {
ogg_stream_pageout_fill(
&mut self.ogg_stream,
ogg_page.as_mut_ptr(),
minimum_page_data_size.try_into()?
minimum_page_data_size as c_int
)
} else {
ogg_stream_pageout(&mut self.ogg_stream, ogg_page.as_mut_ptr())
Expand Down

0 comments on commit 5501427

Please sign in to comment.