aboutsummaryrefslogtreecommitdiff
path: root/bfd/libaout.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libaout.h')
-rw-r--r--bfd/libaout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libaout.h b/bfd/libaout.h
index cae72de..60424bc 100644
--- a/bfd/libaout.h
+++ b/bfd/libaout.h
@@ -290,7 +290,7 @@ enum machine_type {
#ifndef N_SET_DYNAMIC
# define N_SET_DYNAMIC(exec, dynamic) \
-((exec).a_info = (dynamic) ? ((exec).a_info | 0x80000000) : \
+((exec).a_info = (dynamic) ? (long) ((exec).a_info | 0x80000000) : \
((exec).a_info & 0x7fffffff))
#endif