diff options
Diffstat (limited to 'output/outobj.c')
-rw-r--r-- | output/outobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outobj.c b/output/outobj.c index 95339e2..3dfbf96 100644 --- a/output/outobj.c +++ b/output/outobj.c @@ -1061,7 +1061,7 @@ static void obj_out(int32_t segto, const void *data, if (segment >= SEG_ABS) error(ERR_NONFATAL, "far-absolute relocations not supported" " by OBJ format"); - ldata = *(int32_t *)data; + ldata = *(int64_t *)data; if (type == OUT_REL2ADR) { ldata += (size - 2); size = 2; |