Remove a warning

parent c7fab7d5
Pipeline #806 failed with stage
in 5 minutes and 21 seconds
......@@ -1997,7 +1997,7 @@ ImageHeader* gforth_loader(char* imagename, char* path)
sizes[i] = section.dp-section.base;
sections[i] = alloc_mmap_guard(section.end-section.base);
fseek(imagefile, -sizeof(SectionHeader), SEEK_CUR);
fread(sections[i], 1, sizes[i], imagefile);
if(fread(sections[i], 1, sizes[i], imagefile) != sizes[i]) break;
}
gforth_relocate(sections, reloc_bits, sizes, bases, vm_prims);
#if 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment