aboutsummaryrefslogtreecommitdiff
path: root/include/aout/encap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aout/encap.h')
-rw-r--r--include/aout/encap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/aout/encap.h b/include/aout/encap.h
index 6797e73..afed9b5 100644
--- a/include/aout/encap.h
+++ b/include/aout/encap.h
@@ -131,5 +131,5 @@ short __header_offset_temp;
#define N_DATADDR(x) \
((N_FLAGS(x) & N_FLAGS_COFF_ENCAPSULATE) ? \
- (SEGMENT_SIZE + ((N_TXTADDR(x)+(x).a_text-1) & ~(SEGMENT_SIZE-1))) : \
- (N_TXTADDR(x)+(x).a_text))
+ (SEGMENT_SIZE + ((N_TXTADDR(x)+(x)->a_text-1) & ~(SEGMENT_SIZE-1))) : \
+ (N_TXTADDR(x)+(x)->a_text))