fix: use u32 for stream duration
This commit is contained in:
parent
be0306e234
commit
57abab112f
3 changed files with 5 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ pub(crate) struct Format {
|
|||
pub width: Option<u32>,
|
||||
pub height: Option<u32>,
|
||||
#[serde_as(as = "Option<JsonString>")]
|
||||
pub approx_duration_ms: Option<u64>,
|
||||
pub approx_duration_ms: Option<u32>,
|
||||
|
||||
#[serde_as(as = "Option<crate::serializer::Range>")]
|
||||
pub index_range: Option<Range<u32>>,
|
||||
|
|
|
|||
|
|
@ -506,7 +506,7 @@ fn map_comment(
|
|||
.accessibility_data,
|
||||
&mut warnings,
|
||||
),
|
||||
reply_count: c.reply_count,
|
||||
reply_count: c.reply_count as u32,
|
||||
replies: replies
|
||||
.map(|items| Paginator::new(Some(c.reply_count), items, reply_ctoken))
|
||||
.unwrap_or_default(),
|
||||
|
|
|
|||
Reference in a new issue