aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 13:53:50 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 13:53:50 +0300
commitd06a19375055f25671ff34be8cc4da2e61a22a36 (patch)
tree6ce3d309cc282a59a8524a7e34d51c66355bc869 /rdoff
parent19ab41466bdfa3df188228d734f58f77cb525400 (diff)
parente7c2f0e51cad609fb24f1cab5594c5b210f797b1 (diff)
downloadnasm-d06a19375055f25671ff34be8cc4da2e61a22a36.tar.gz
nasm-d06a19375055f25671ff34be8cc4da2e61a22a36.tar.xz
nasm-d06a19375055f25671ff34be8cc4da2e61a22a36.zip
Merge branch 'nasm-2.15.xx'
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/rdoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index 77f2b42f..3057f84f 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -612,8 +612,8 @@ int rdfwriteheader(FILE * fp, rdf_headerbuf * h)
l = membuflength(h->buf);
l2 = l + 14 + 10 * h->nsegments + h->seglength;
- fwriteint32_t(l, fp);
- fwriteint32_t(l2, fp);
+ fwriteint32_t(l2, fp); /* object length */
+ fwriteint32_t(l, fp); /* header length */
membufdump(h->buf, fp);