Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: webkit/plugins/npapi/test/plugin_geturl_test.cc

Issue 12298002: Make npapi_test_plugin build on Win64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/npapi/test/plugin_geturl_test.cc
===================================================================
--- webkit/plugins/npapi/test/plugin_geturl_test.cc (revision 183008)
+++ webkit/plugins/npapi/test/plugin_geturl_test.cc (working copy)
@@ -266,7 +266,8 @@
case FETCHED_URL_STREAM_ID:
{
char read_buffer[STREAM_CHUNK];
- int32 bytes = fread(read_buffer, 1, len, test_file_);
+ int32 bytes =
+ static_cast<int32>(fread(read_buffer, 1, len, test_file_));
// Technically, fread could return fewer than len
// bytes. But this is not likely.
if (bytes != len)
« no previous file with comments | « webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc ('k') | webkit/plugins/npapi/test/plugin_npobject_lifetime_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698