Hi Paul,

Why this? What was wrong with the previous formula

  #define OFFSET_MAX \
    ((((OFFSET)1 << (sizeof (OFFSET) * CHAR_BIT - 2)) - 1) * 2 + 1)

(OFFSET being a signed type)?

I can't parse your subject line "don’t assume integers lack padding".

Bruno




Reply via email to