1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cast voidpointer to uint for arithmetik

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2022-12-16 16:38:46 +01:00 committed by Niklas Eiling
parent ef7bb1697d
commit 1c85a4330f

View file

@ -92,7 +92,7 @@ int main(int argc, char **argv) {
printf("PCI Memory mapped to address %p.\n", map_base);
fflush(stdout);
virt_addr = map_base + (target & MAP_MASK);
virt_addr = (uint8_t*) map_base + (target & MAP_MASK);
switch(access_type) {
case 'b':