Found in context of Zephyr. Under GNU C, sizeof(void) = 1. This commit simply uses uint8_t.
Pointer arithmetics over void types is: * A GNU C extension * Not supported by Clang * Illegal across all ISO C standards See also: https://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html [ Full content available at: https://github.com/apache/mynewt-nffs/pull/11 ] This message was relayed via gitbox.apache.org for [email protected]
