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

Unified Diff: src/extensions/gc-extension.h

Issue 140983005: Fixed Windows build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/gc-extension.h
diff --git a/src/extensions/gc-extension.h b/src/extensions/gc-extension.h
index adc79fe3398b3a8e5c2cc486bb6f68b74f923492..105c5ad5b72b4f01ed3712c2eec2613fc218449f 100644
--- a/src/extensions/gc-extension.h
+++ b/src/extensions/gc-extension.h
@@ -45,7 +45,8 @@ class GCExtension : public v8::Extension {
private:
static const char* BuildSource(char* buf, size_t size, const char* fun_name) {
- OS::SNPrintF(Vector<char>(buf, size), "native function %s();", fun_name);
+ OS::SNPrintF(Vector<char>(buf, static_cast<int>(size)),
+ "native function %s();", fun_name);
return buf;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698