On 2/17/2014 4:23 PM, evilrat wrote: > > but it looks like length is not size_t but ulong in which case you need > explicit cast from larget to smaller type. check lenght signature size_t is an alias to ulong on 64-bit. Aliases tend to show up in error messages as the underlying type.