summaryrefslogtreecommitdiff
path: root/output/outobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outobj.c')
-rw-r--r--output/outobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outobj.c b/output/outobj.c
index 6b173eb9..c9f40094 100644
--- a/output/outobj.c
+++ b/output/outobj.c
@@ -1087,7 +1087,7 @@ static void obj_out(int32_t segto, const void *data,
int rsize;
if (type == OUT_ADDRESS)
- size = abs(size);
+ size = abs((int)size);
if (segment == NO_SEG && type != OUT_ADDRESS)
nasm_error(ERR_NONFATAL, "relative call to absolute address not"