Skip to content

Commit

Permalink
Fix overflow error on 32-bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jul 2, 2020
1 parent cf3bfc9 commit fbee47a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cargo/core/compiler/fingerprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,6 @@ impl EncodedDepInfo {
dst.push((val >> 8) as u8);
dst.push((val >> 16) as u8);
dst.push((val >> 24) as u8);
assert!(val >> 32 == 0);
}
}
}
Expand Down

0 comments on commit fbee47a

Please sign in to comment.