aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.h
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-05-18 02:15:32 +0000
committerK. Richard Pixley <rich@cygnus>1991-05-18 02:15:32 +0000
commitd1a9e594859320d99c9ff5730d90dc171594c8e0 (patch)
treed427cb9e19b0d3b246579dcfceedd50c0a2400ef /gas/config/obj-coff.h
parent7dc139f16d3249ceddcd5cc18977db24511a0260 (diff)
downloadgdb-d1a9e594859320d99c9ff5730d90dc171594c8e0.zip
gdb-d1a9e594859320d99c9ff5730d90dc171594c8e0.tar.gz
gdb-d1a9e594859320d99c9ff5730d90dc171594c8e0.tar.bz2
Buying into ../include and ../libiberty.
Diffstat (limited to 'gas/config/obj-coff.h')
-rw-r--r--gas/config/obj-coff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 6ed5c84..8ee3fe7 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -162,7 +162,7 @@ typedef struct {
/* The zeroes if symbol name is longer than 8 chars */
#define S_GET_ZEROES(s) ((s)->sy_symbol.ost_entry.n_zeroes)
/* The value of the symbol */
-#define S_GET_VALUE(s) ((s)->sy_symbol.ost_entry.n_value)
+#define S_GET_VALUE(s) ((unsigned) ((s)->sy_symbol.ost_entry.n_value))
/* The numeric value of the segment */
#define S_GET_SEGMENT(s) (N_TYPE_seg[(s)->sy_symbol.ost_entry.n_scnum+4])
/* The data type */