From cdfcca147ac5f467db305572fb73bdce16ee1eb9 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 2 Sep 2016 13:59:00 +0900 Subject: [PATCH] Fix warning when compiling for win32 ia32 build --- atom/browser/ui/win/jump_list.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }