Skip to content
Snippets Groups Projects
Verified Commit cb200e06 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

[rts] cast return value to struct.

parent d72441fc
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ makeStub(Section * section,
void* * addr,
uint8_t flags) {
Stub * s = stgCallocBytes(1, sizeof(Stub), "makeStub");
Stub * s = (Stub *)stgCallocBytes(sizeof(Stub), 1, "makeStub");
CHECK(s != NULL);
s->target = *addr;
s->flags = flags;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment