• Tom Anderson's avatar
    Fix undefined-shift UBSAN errors · c60ed9ef
    Tom Anderson authored
    The expression "1 << 31" will cause UBSAN to complain with this error message:
    runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
    The same operation on unsigned types is fine, however.  This CL replaces the
    strings "1 <<" with "1U <<".
fclang.c 23.9 KB