core/bitXXgen: Use explicit cast of void* to uint8_t

Turns out we use this header in C++ code ...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
1 file changed