instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit)