aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bfd.h b/include/bfd.h
index d323f10..3f9947e 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -144,7 +144,7 @@ typedef int symtype; /* Who knows, yet? */
#define bfd_get_output_section(x) ((x)->section->output_section)
#define bfd_set_section(x,y) ((x)->section) = (y)
#define bfd_asymbol_base(x) ((x)->section->vma)
-#define bfd_asymbol_value(x) (bfd_asymbol_base(x) + x->value)
+#define bfd_asymbol_value(x) (bfd_asymbol_base(x) + (x)->value)
#define bfd_asymbol_name(x) ((x)->name)
/*Perhaps future: #define bfd_asymbol_bfd(x) ((x)->section->owner)*/
#define bfd_asymbol_bfd(x) ((x)->the_bfd)