consistently typecast when converting sign of a value
consistently typecast when converting sign of a value

Use long long int, instead of long int, and type cast only when we are
converting from a signed to an unsigned type, or vice versa.

Signed-off-by: Jacob Keller <74ec1f46a68d238888726a00aa611ba6343172e2@gmail.com>

offa/cpputest,asgeroverby/cpputest,basvodde/cpputest,cpputest/cpputest,cpputest/cpputest,cpputest/cpputest,offa/cpputest,offa/cpputest,asgeroverby/cpputest,cpputest/cpputest,basvodde/cpputest,offa/cpputest,basvodde/cpputest,asgeroverby/cpputest,asgeroverby/cpputest,basvodde/cpputest