diff options
author | Ilya Zverev <zverik@textual.ru> | 2016-03-24 19:20:31 +0300 |
---|---|---|
committer | Ilya Zverev <zverik@textual.ru> | 2016-03-24 19:37:13 +0300 |
commit | b77027ada531bb6ea5c098d261a2b50785de5ffb (patch) | |
tree | e770989048dfb166097654b398d1510752b5c112 /editor | |
parent | 6b5b292a4b95ad53b242a4bd15d13f09c89d209b (diff) |
[editor] Fix std::min call
Diffstat (limited to 'editor')
-rw-r--r-- | editor/changeset_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/changeset_wrapper.cpp b/editor/changeset_wrapper.cpp index d151fca0b9..d9af7cdbaa 100644 --- a/editor/changeset_wrapper.cpp +++ b/editor/changeset_wrapper.cpp @@ -275,7 +275,7 @@ string ChangesetWrapper::TypeCountToString(TTypeCount const & typeCount) }); ostringstream ss; - auto const limit = min(3UL, items.size()); + auto const limit = min(size_t(3), items.size()); for (auto i = 0; i < limit; ++i) { if (i > 0) |