summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}