summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/sbp_targ.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/firewire/sbp_targ.c')
-rw-r--r--sys/dev/firewire/sbp_targ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp_targ.c b/sys/dev/firewire/sbp_targ.c
index f3434dd..8026b79 100644
--- a/sys/dev/firewire/sbp_targ.c
+++ b/sys/dev/firewire/sbp_targ.c
@@ -1716,7 +1716,7 @@ sbp_targ_pointer_handler(struct fw_xfer *xfer)
orb0 = ntohl(orbi->orb[0]);
orb1 = ntohl(orbi->orb[1]);
- if ((orb0 & (1 << 31)) != 0) {
+ if ((orb0 & (1U << 31)) != 0) {
printf("%s: invalid pointer\n", __func__);
goto done;
}
OpenPOWER on IntegriCloud