aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/aoutf1.h')
-rw-r--r--bfd/aoutf1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aoutf1.h b/bfd/aoutf1.h
index a62c68d..5dbcdda 100644
--- a/bfd/aoutf1.h
+++ b/bfd/aoutf1.h
@@ -259,7 +259,7 @@ sunos_write_object_contents (abfd)
N_SET_FLAGS (*execp, aout_backend_info (abfd)->exec_hdr_flags);
- N_SET_DYNAMIC (*execp, bfd_get_file_flags (abfd) & DYNAMIC);
+ N_SET_DYNAMIC (*execp, (long)(bfd_get_file_flags (abfd) & DYNAMIC));
WRITE_HEADERS (abfd, execp);