Skip to content

Commit

Permalink
fix overflowing integer
Browse files Browse the repository at this point in the history
  • Loading branch information
apiraino committed Feb 19, 2025
1 parent 4188c2a commit 485e212
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rfcbot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ pub struct FCP {
pub id: u32,
pub fk_issue: u32,
pub fk_initiator: u32,
pub fk_initiating_comment: i32,
pub fk_initiating_comment: u32,
pub disposition: Option<String>,
pub fk_bot_tracking_comment: i32,
pub fk_bot_tracking_comment: u32,
pub fcp_start: Option<String>,
pub fcp_closed: bool,
}
Expand Down Expand Up @@ -50,7 +50,7 @@ pub struct FCPIssue {

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct StatusComment {
pub id: i32,
pub id: u32,
pub fk_issue: u32,
pub fk_user: u32,
pub body: String,
Expand Down

0 comments on commit 485e212

Please sign in to comment.