projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* bfd-in.h (align_power): Cast constants to bfd_vma type.
[deliverable/binutils-gdb.git]
/
bfd
/
bfd-in2.h
diff --git
a/bfd/bfd-in2.h
b/bfd/bfd-in2.h
index 0ab42452029ebc05092fa55de1c0cea87b0d496a..abb6405f579c674334db238d8ca22dc935d52870 100644
(file)
--- a/
bfd/bfd-in2.h
+++ b/
bfd/bfd-in2.h
@@
-337,7
+337,7
@@
alent;
/* Object and core file sections. */
#define align_power(addr, align) \
-
( ((addr) + ((1<<(align))-1)) & (
-1 << (align)))
+
(((addr) + ((bfd_vma) 1 << (align)) - 1) & ((bfd_vma)
-1 << (align)))
typedef struct sec *sec_ptr;
This page took
0.024581 seconds
and
4
git commands to generate.