commit | 1b557b33fa1d72805573b1795b43937057b13e2b | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed May 09 18:20:49 2018 +0000 |
committer | Martin Storsjo <martin@martin.st> | Wed May 09 18:20:49 2018 +0000 |
tree | 8c03ef6f102e4ed9951f6fcd62e4047bb6db0292 | |
parent | f66d8c2e1aa1da377fc7a59e4d2574b479ddc4d1 [diff] |
[llvm-rc] Allow -1 for control IDs in old style dialogs with 16 bit fields -1 is commonly used as ID for controls that one don't want to refer to later. For DIALOG resources, the IDs are 16 bit numbers, and -1 gets interpreted as UINT32_MAX earlier, which then later is too large to write into a uint16_t. Differential Revision: https://reviews.llvm.org/D46506 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331901 91177308-0d34-0410-b5e6-96231b3b80d8