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

Unified Diff: content/child/npapi/plugin_instance.cc

Issue 377723002: Fixes for re-enabling more MSVC level 4 warnings: content/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | content/child/webcrypto/jwk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_instance.cc
diff --git a/content/child/npapi/plugin_instance.cc b/content/child/npapi/plugin_instance.cc
index b141c5af15bc9d20baae7006f3118535e75ce24c..bf888e7bd31bb18fdfdeea3bdf3a3dd4a3d9648a 100644
--- a/content/child/npapi/plugin_instance.cc
+++ b/content/child/npapi/plugin_instance.cc
@@ -406,7 +406,8 @@ void PluginInstance::DidReceiveManualResponse(const GURL& url,
uint32 last_modified) {
DCHECK(load_manually_);
- plugin_data_stream_ = CreateStream(-1, url, mime_type, 0);
+ plugin_data_stream_ =
+ CreateStream(static_cast<unsigned long>(-1), url, mime_type, 0);
plugin_data_stream_->DidReceiveResponse(mime_type, headers, expected_length,
last_modified, true);
}
« no previous file with comments | « no previous file | content/child/webcrypto/jwk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698