diff options
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/rdfload.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rdoff/rdfload.c b/rdoff/rdfload.c index 063724e..d1d69d5 100644 --- a/rdoff/rdfload.c +++ b/rdoff/rdfload.c @@ -104,9 +104,9 @@ rdfmodule *rdfload(const char *filename) rdfheaderrewind(&f->f); - f->textrel = (int32_t)f->t; - f->datarel = (int32_t)f->d; - f->bssrel = (int32_t)f->b; + f->textrel = (size_t)(uint32_t)f->t; + f->datarel = (size_t)(uint32_t)f->d; + f->bssrel = (size_t)(int32_t)f->b; return f; } |