1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 21:08:07 +02:00

ubb-patgen/ubb-patgen.c (send_buffer): physmem_xlat no longer needs a cast

This commit is contained in:
Werner Almesberger 2013-01-26 20:48:21 -03:00
parent c796ab1c54
commit b0d89b25eb

View File

@ -494,7 +494,7 @@ static void send_buffer(const struct mmcclk *clk,
exit(1);
}
n = physmem_xlat((void *) buf, nibbles >> 1, &vec, 1);
n = physmem_xlat(buf, nibbles >> 1, &vec, 1);
if (n < 0) {
perror("physmem_xlat_vec");
exit(1);