diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-07-10 09:46:57 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-07-10 09:46:57 +0000 |
| commit | c048599f224ed17fe0371614d9bcf1c8676496ec (patch) | |
| tree | 8ba5e00d4050676ceb0e8de3fe4394821e7e1ff2 | |
| parent | b251f62428d9eb32344f53c27f9e81d6ec674fa7 (diff) | |
| download | bcm5719-llvm-c048599f224ed17fe0371614d9bcf1c8676496ec.tar.gz bcm5719-llvm-c048599f224ed17fe0371614d9bcf1c8676496ec.zip | |
Fix MSVC "signed/unsigned mismatch" warning. NFCI.
llvm-svn: 336649
| -rw-r--r-- | llvm/include/llvm/ADT/FunctionExtras.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/FunctionExtras.h b/llvm/include/llvm/ADT/FunctionExtras.h index a8c7bc486f2..2b75dc6ac21 100644 --- a/llvm/include/llvm/ADT/FunctionExtras.h +++ b/llvm/include/llvm/ADT/FunctionExtras.h @@ -44,7 +44,7 @@ template <typename FunctionT> class unique_function; template <typename ReturnT, typename... ParamTs> class unique_function<ReturnT(ParamTs...)> { - static constexpr int InlineStorageSize = sizeof(void *) * 3; + static constexpr size_t InlineStorageSize = sizeof(void *) * 3; // MSVC has a bug and ICEs if we give it a particular dependent value // expression as part of the `std::conditional` below. To work around this, |

