Files @ r26503:9073979bd47d
Branch filter:

Location: cpp/openttd-patchpack/source/.editorconfig

PeterN
Fix: Ensure 31-bit shifts are unsigned. (#10128)

Shifting a signed 32-bit integer by 31 bits is undefined behaviour.
A few more than necessary are switched to unsigned for consistentency.
1
2
3
4
5
6
7
8
9
root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true

[*.{c,cpp,h,hpp}]
indent_style = tab
charset = utf-8