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:
parent
ef7bb1697d
commit
1c85a4330f
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Reference in a new issue