Skip to content

Commit

Permalink
Fix sign compare error
Browse files Browse the repository at this point in the history
  • Loading branch information
janweinstock committed Apr 3, 2024
1 parent 0142a8d commit 2778169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vcml/models/usb/hostdev_nolibusb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ hostdev::hostdev(const sc_module_name& nm, u32 bus, u32 addr):
hostbus("hostbus", bus),
hostaddr("hostaddr", addr),
usb_in("usb_in") {
if (hostbus > 0 || hostaddr > 0)
if (hostbus > 0u || hostaddr > 0u)
log_warn("USB host devices not supported (missing libusb)");
}

Expand Down

0 comments on commit 2778169

Please sign in to comment.