Skip to content

Commit

Permalink
Make CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-Jung committed Jun 27, 2024
1 parent f2e6f03 commit 42fd244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ impl<'a, 'b> Cpu<'a, 'b> {
}

pub fn binary_load(&self, addr: u32, size: u8) -> u32 {
if ((addr % 4) % (1 << size) == 0) {
if (addr % 4) % (1 << size) == 0 {
warn!(
"Hart {} (pc=0x{:08x}) is doing an unaligned load at 0x{:08x}",
self.hartid, self.state.pc, addr
Expand Down Expand Up @@ -879,7 +879,7 @@ impl<'a, 'b> Cpu<'a, 'b> {
}

pub fn binary_store(&self, addr: u32, value: u32, size: u8) {
if ((addr % 4) % (1 << size) == 0) {
if (addr % 4) % (1 << size) == 0 {
warn!(
"Hart {} (pc=0x{:08x}) is doing an unaligned store at 0x{:08x}",
self.hartid, self.state.pc, addr
Expand Down

0 comments on commit 42fd244

Please sign in to comment.