mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 20:03:42 +02:00
ubb-patgen/ubb-patgen.c (send_buffer): physmem_xlat no longer needs a cast
This commit is contained in:
parent
c796ab1c54
commit
b0d89b25eb
@ -494,7 +494,7 @@ static void send_buffer(const struct mmcclk *clk,
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
n = physmem_xlat((void *) buf, nibbles >> 1, &vec, 1);
|
n = physmem_xlat(buf, nibbles >> 1, &vec, 1);
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
perror("physmem_xlat_vec");
|
perror("physmem_xlat_vec");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user