Eric Blake wrote: > assert(start >= 0 && length > 0 && (unsigned) start + length <= 64);
This is shorter and avoids the ugly cast: assert(start >= 0 && length > 0 && length <= 64 - start); Jay.
Eric Blake wrote: > assert(start >= 0 && length > 0 && (unsigned) start + length <= 64);
This is shorter and avoids the ugly cast: assert(start >= 0 && length > 0 && length <= 64 - start); Jay.