apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

browser_window_std_win.cc : 'argument' : conversion from 'size_t' to 'int', possible loss of data for trunk revision 54268de #1511

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python automate-git.py --download-dir CEF3-Windows-trunk-64\download\ 
--force-clean --build-tests --x64-build --client-distrib --verbose-build 
--build-log-file

What is the expected output? What do you see instead?
Build should pass without any errors.
The following error is seen in build-trunk-debug.log

FAILED: ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft 
Visual Studio 12.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC 
@obj\cef\tests\cefclient\cefclient.browser_window_std_win.obj.rsp /c 
..\..\cef\tests\cefclient\browser_window_std_win.cc 
/Foobj\cef\tests\cefclient\cefclient.browser_window_std_win.obj 
/Fdobj\cef\cefclient.cc.pdb 
e:\cef\workspace\cef3-windows-trunk-64\download\chromium\src\cef\tests\cefclient
\browser_window_std_win.cc(48) : error C2220: warning treated as error - no 
'object' file generated
e:\cef\workspace\cef3-windows-trunk-64\download\chromium\src\cef\tests\cefclient
\browser_window_std_win.cc(48) : warning C4267: 'argument' : conversion from 
'size_t' to 'int', possible loss of data
e:\cef\workspace\cef3-windows-trunk-64\download\chromium\src\cef\tests\cefclient
\browser_window_std_win.cc(79) : warning C4267: 'argument' : conversion from 
'size_t' to 'int', possible loss of data
ninja: build stopped: subcommand failed.

What version of the product are you using? On what operating system?
CEF3. Windows 2012 Enterprise

Please provide any additional information below.
PFA the patch file with the fix 

Original issue reported on code.google.com by meghs.p...@gmail.com on 28 Jan 2015 at 5:01

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, fixed in trunk revision 2003.

Original comment by magreenb...@gmail.com on 28 Jan 2015 at 5:15