aboutsummaryrefslogtreecommitdiff
path: root/bfd/netbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/netbsd.h')
-rw-r--r--bfd/netbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/netbsd.h b/bfd/netbsd.h
index b5a1302..3e98140 100644
--- a/bfd/netbsd.h
+++ b/bfd/netbsd.h
@@ -104,7 +104,7 @@ MY (write_object_contents) (bfd *abfd)
/* XXX aren't there any macro to change byteorder of a word independent of
the host's or target's endiannesses? */
execp->a_info
- = (execp->a_info & 0xff) << 24 | (execp->a_info & 0xff00) << 8
+ = (execp->a_info & 0xffu) << 24 | (execp->a_info & 0xff00) << 8
| (execp->a_info & 0xff0000) >> 8 | (execp->a_info & 0xff000000) >> 24;
#endif