Commit 09daf8d0 authored by Federico Vaga's avatar Federico Vaga

sw:lib: use char pointer arithmetic instead of void (portability)

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 2da283e7
......@@ -572,7 +572,7 @@ int trtl_cpu_dump_application_raw(struct trtl_dev *trtl,
lseek(fd, offset, SEEK_SET);
while (i < length && --c)
i += read(fd, code + i, length - i);
i += read(fd, (char *)code + i, length - i);
if (!c)
fprintf(stderr, "Cannot read all the CPU firmware\n");
......
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