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

Unified Diff: runtime/bin/platform_win.cc

Issue 317773002: Fix Win64 build of Dart VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address comments Created 6 years, 6 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 | « runtime/bin/net/os_windows.c ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_win.cc
diff --git a/runtime/bin/platform_win.cc b/runtime/bin/platform_win.cc
index 85b6694d47dba42a51d60eb42c083047b95ec09f..0d3cb11c2f15306bf94199380fa46d69e509e80d 100644
--- a/runtime/bin/platform_win.cc
+++ b/runtime/bin/platform_win.cc
@@ -59,8 +59,10 @@ char** Platform::Environment(intptr_t* count) {
}
-void Platform::FreeEnvironment(char** env, int count) {
- for (int i = 0; i < count; i++) free(env[i]);
+void Platform::FreeEnvironment(char** env, intptr_t count) {
+ for (intptr_t i = 0; i < count; i++) {
+ free(env[i]);
+ }
delete[] env;
}
« no previous file with comments | « runtime/bin/net/os_windows.c ('k') | runtime/vm/assembler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698