Skip to content

Commit

Permalink
as i64 >>
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 4, 2024
1 parent cb74ec2 commit edbd751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run/port.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl Port {
/// Accesses the numeric value of this port; this is valid for [`Num`] ports.
#[inline(always)]
pub const fn num(&self) -> i64 {
(self.0 >> 4) as i64
self.0 as i64 >> 4
}

/// Accesses the wire leaving this port; this is valid for [`Var`] ports and
Expand Down

0 comments on commit edbd751

Please sign in to comment.