Fix warning when compiling for win32 ia32 build

This commit is contained in:
Cheng Zhao 2016-09-02 13:59:00 +09:00
parent 8471f647a1
commit cdfcca147a

View file

@ -249,7 +249,7 @@ JumpListResult JumpList::AppendCategory(const JumpListCategory& category) {
if (appended_count == 0)
return result;
if ((appended_count < category.items.size()) &&
if ((static_cast<size_t>(appended_count) < category.items.size()) &&
(result == JumpListResult::SUCCESS)) {
result = JumpListResult::GENERIC_ERROR;
}