aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-bout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/obj-bout.h')
-rw-r--r--gas/config/obj-bout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/obj-bout.h b/gas/config/obj-bout.h
index 5ba18f1..67e866a 100644
--- a/gas/config/obj-bout.h
+++ b/gas/config/obj-bout.h
@@ -205,7 +205,7 @@ struct relocation_info {
/* Accessors */
/* The value of the symbol */
-#define S_GET_VALUE(s) ((long) ((s)->sy_symbol.n_value))
+#define S_GET_VALUE(s) ((unsigned long) ((s)->sy_symbol.n_value))
/* The name of the symbol */
#define S_GET_NAME(s) ((s)->sy_symbol.n_un.n_name)
/* The pointer to the string table */