summaryrefslogtreecommitdiff
path: root/as/genobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'as/genobj.c')
-rw-r--r--as/genobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/as/genobj.c b/as/genobj.c
index 588f41b..67eb88e 100644
--- a/as/genobj.c
+++ b/as/genobj.c
@@ -634,7 +634,7 @@ u32_T offset;
char buf[sizeof offset];
u4c4(buf, offset);
- writeobj(buf, sizeof buf);
+ writeobj(buf, 4);
}
/* write sized offset to object code buffer assuming ... */