I'm using a rpi4 with 8 GB on manjaro 64bits so it depends on python3.9 and gcc 10.2.0 and I get 3 warnings during compilation :
source/c_gpio.c:130:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
130 | if ((uint32_t)gpio_mem % PAGE_SIZE)
| ^
source/c_gpio.c:131:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
131 | gpio_mem += PAGE_SIZE - ((uint32_t)gpio_mem % PAGE_SIZE);
source/cpuinfo.c:139:28: warning: format '%llx' expects argument of type 'long long unsigned int ', but argument 3 has type 'uint64_t ' {aka 'long unsigned int '} [-Wformat=]
139 | sscanf(revision, "%llx", &rev);
| ~~~^ ~~~~
| | |
| | uint64_t * {aka long unsigned int }
| long long unsigned int *
| %lx
Fixed in 0.7.1