Fix warning about cast to pointer in rdfload.c
Fix warning in rdfload.c about cast to pointer of different size when compiling on 64 bits. Of course, rdfload is probably useless on 64 bits, but it's pretty useless in the first place.
This commit is contained in:
parent
de4b89bb3e
commit
577f247be4
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue