Fix network communication on arm64
authorAlexander Simon <an.alexsimon@googlemail.com>
Wed, 7 Aug 2019 11:39:18 +0000 (13:39 +0200)
committerAlexander Simon <an.alexsimon@googlemail.com>
Wed, 7 Aug 2019 11:39:18 +0000 (13:39 +0200)
commit55d8b880fca26ccf4b897bca1fe66796b9972345
tree57e9dccca8645293b461145802af430b6d0769c3
parent5847d5c0991ba3d8b00fe11125aca5f74f72bc9d
Fix network communication on arm64

Base messages consist of four uint32 integers.
Wrongly, integers are declared as a four-element uintptr_t array.
The 16 bytes are written directly by recv().
This works great for arm32, but on arm64 uintptr_t is 64 bit (8 bytes).

This patch reads four 32-bit integers and writes them into the uintptr_t
array.
pigpio.c