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

Unified Diff: runtime/vm/freelist_test.cc

Issue 287933002: Fix Android build warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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/vmservice_impl.cc ('k') | runtime/vm/heap_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/freelist_test.cc
diff --git a/runtime/vm/freelist_test.cc b/runtime/vm/freelist_test.cc
index b7cfbca18cfb4a0f91cf53671dd316d267d58eb7..2f2976062a39fd2148e61e9dab6da13c800e7497 100644
--- a/runtime/vm/freelist_test.cc
+++ b/runtime/vm/freelist_test.cc
@@ -159,7 +159,7 @@ TEST_CASE(FreeListProtectedVariableSizeObjects) {
const intptr_t kMinSize = 2 * kWordSize;
uword* objects = new uword[kBlobSize / kMinSize];
for (intptr_t i = 0; i < kBlobSize / kMinSize; ++i) {
- objects[i] = NULL;
+ objects[i] = static_cast<uword>(NULL);
}
VirtualMemory* blob = VirtualMemory::ReserveAligned(kBlobSize, 4096);
« no previous file with comments | « runtime/bin/vmservice_impl.cc ('k') | runtime/vm/heap_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698