From 53254bf92a0b6a99c718a5bf64fb4cbf0532e7b3 Mon Sep 17 00:00:00 2001 From: Jim Evans Date: Tue, 6 Mar 2018 06:40:09 -0800 Subject: [PATCH] Fixed compiler warning for sign mismatch in CookieManager.cpp --- cpp/iedriver/CookieManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/iedriver/CookieManager.cpp b/cpp/iedriver/CookieManager.cpp index 0d916b1930c34..b4627ffd95bde 100644 --- a/cpp/iedriver/CookieManager.cpp +++ b/cpp/iedriver/CookieManager.cpp @@ -499,7 +499,7 @@ LRESULT CALLBACK CookieWndProc(int nCode, WPARAM wParam, LPARAM lParam) { // Mimic the format of the old persistent cookie files for ease of // transmission back to the driver and parsing. std::wstring all_cookies = L""; - for (int cookie_index = 0; cookie_index < cookie_count; ++cookie_index) { + for (DWORD cookie_index = 0; cookie_index < cookie_count; ++cookie_index) { if (all_cookies.size() > 0) { all_cookies.append(L"\n*\n"); }