Windows: Fix 64-bit compile errors (issue #394).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1361 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-08-14 21:45:22 +00:00
parent 94b5c536ba
commit 2f1c313fd0
11 changed files with 26 additions and 25 deletions

View File

@@ -54,7 +54,7 @@ bool CefStreamResourceHandler::ReadResponse(void* data_out,
int bytes_to_read,
int& bytes_read,
CefRefPtr<CefCallback> callback) {
bytes_read = stream_->Read(data_out, 1, bytes_to_read);
bytes_read = static_cast<int>(stream_->Read(data_out, 1, bytes_to_read));
return (bytes_read > 0);
}