Changed cast logic to match new -1UL/CHAR_BIT code
Changed cast logic to match new -1UL/CHAR_BIT code

Changed commented cast logic too - not implementing due to
signed/unsigned difference.

8l/ucc-c-compiler,8l/ucc-c-compiler,8l/ucc-c-compiler,8l/ucc-c-compiler