From 777e3c440ee7ce586a1e3a6a43386d9a882872aa Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 25 Nov 2013 18:56:22 +0000 Subject: [PATCH] Mac: Fix equality test compile error (issue #1013). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1529 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- tests/unittests/urlrequest_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/urlrequest_unittest.cc b/tests/unittests/urlrequest_unittest.cc index 620bd30e0..cd6dba469 100644 --- a/tests/unittests/urlrequest_unittest.cc +++ b/tests/unittests/urlrequest_unittest.cc @@ -653,7 +653,7 @@ class RequestTestRunner { post_file_tmpdir_.path().Append(FILE_PATH_LITERAL("example.txt")); const char content[] = "HELLO FRIEND!"; int write_ct = file_util::WriteFile(path, content, sizeof(content) - 1); - EXPECT_EQ(sizeof(content) - 1, write_ct); + EXPECT_EQ(static_cast(sizeof(content) - 1), write_ct); SetUploadFile(settings_.request, path); settings_.response = CefResponse::Create();