On Sun, Nov 14, 2010 at 04:56:46PM +0100, Vitor Sessak wrote: > - init_get_bits(&gb, buf, 128); > + init_get_bits(&gb, (uint8_t *) buf, 128); Should init_get_bits possibly take a const void * instead?