diff options
author | Tom Anderson <thomasanderson@chromium.org> | 2018-04-11 11:39:56 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-04-16 15:23:20 +0200 |
commit | c60ed9ef66e59584f8b54323018e9e6c69925c7e (patch) | |
tree | 51f5e68cbaa99a056bdff8d7c922d30d30843ca6 /fc-lang/bho.orth | |
parent | a8a6efa805fc03e790214e8a0bc55843a258d774 (diff) |
Fix undefined-shift UBSAN errors
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 <<".
Diffstat (limited to 'fc-lang/bho.orth')
0 files changed, 0 insertions, 0 deletions