diff --git a/atom/browser/ui/win/jump_list.cc b/atom/browser/ui/win/jump_list.cc index bf6f3139786b..5cd2af8ddd91 100644 --- a/atom/browser/ui/win/jump_list.cc +++ b/atom/browser/ui/win/jump_list.cc @@ -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(appended_count) < category.items.size()) && (result == JumpListResult::SUCCESS)) { result = JumpListResult::GENERIC_ERROR; }