diff options
author | 1996-11-07 11:25:10 +0000 | |
---|---|---|
committer | 1996-11-07 11:25:10 +0000 | |
commit | 68f75ea3a5d3f32c9d56e170e1e30b377a5828a5 (patch) | |
tree | 394a94a251c51b93eb9f480a5f3c01512ba76c1c /sys | |
parent | Conditinally unused variable (-Wall fix) (diff) | |
download | wireguard-openbsd-68f75ea3a5d3f32c9d56e170e1e30b377a5828a5.tar.xz wireguard-openbsd-68f75ea3a5d3f32c9d56e170e1e30b377a5828a5.zip |
Parenthesize bit ops in last change (-Wall fix)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isa/if_ed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c index 9824c30c6bb..bf4ae525cc1 100644 --- a/sys/dev/isa/if_ed.c +++ b/sys/dev/isa/if_ed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ed.c,v 1.22 1996/11/07 08:36:50 niklas Exp $ */ +/* $OpenBSD: if_ed.c,v 1.23 1996/11/07 11:25:10 niklas Exp $ */ /* $NetBSD: if_ed.c,v 1.100 1996/05/12 23:52:19 mycroft Exp $ */ /* @@ -2778,7 +2778,7 @@ ed_shared_writemem(sc, from, card, len) */ if (len > 0 && (card & 1)) { word = bus_mem_read_2(bc, memh, card & ~1); - word = word & 0xff | (*from << 8); + word = (word & 0xff) | (*from << 8); bus_mem_write_2(bc, memh, card & ~1, word); from++; card++; |