summaryrefslogtreecommitdiff
path: root/rdoff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-10-28 23:10:34 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-10-28 23:10:34 -0700
commitff9e7e34a10f5d4a44bf1baf08929f9c4c4cf13e (patch)
tree131fc8c91fe6bd8797326fdc4debe46cc7135e77 /rdoff
parentcb583b9435e581b8f5c312762247247a653145f3 (diff)
downloadnasm-ff9e7e34a10f5d4a44bf1baf08929f9c4c4cf13e.tar.gz
nasm-ff9e7e34a10f5d4a44bf1baf08929f9c4c4cf13e.tar.bz2
nasm-ff9e7e34a10f5d4a44bf1baf08929f9c4c4cf13e.zip
Actually shut up the warning in rdfload.c
Shut the warning in rdfload.c up properly...
Diffstat (limited to 'rdoff')
-rw-r--r--rdoff/rdfload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdoff/rdfload.c b/rdoff/rdfload.c
index d1d69d5..03164b5 100644
--- a/rdoff/rdfload.c
+++ b/rdoff/rdfload.c
@@ -104,9 +104,9 @@ rdfmodule *rdfload(const char *filename)
rdfheaderrewind(&f->f);
- f->textrel = (size_t)(uint32_t)f->t;
- f->datarel = (size_t)(uint32_t)f->d;
- f->bssrel = (size_t)(int32_t)f->b;
+ f->textrel = (int32_t)(size_t)f->t;
+ f->datarel = (int32_t)(size_t)f->d;
+ f->bssrel = (int32_t)(size_t)f->b;
return f;
}