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

Unified Diff: runtime/vm/heap.h

Issue 904603003: Fixed Window's Debug warning, results in compilation failure. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
« 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: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 1649ab26d81e9c119b482322b209a18a9a591d5a..ddd24f3ad7f4387b0730426cdba2df831030eb5f 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -61,8 +61,8 @@ class Heap {
#if defined(DEBUG)
// Pattern for unused new space and swept old space.
static const uint64_t kZap64Bits = 0xf3f3f3f3f3f3f3f3;
- static const uint32_t kZap32Bits = static_cast<uint32_t>(kZap64Bits);
- static const uint8_t kZapByte = static_cast<uint8_t>(kZap64Bits);
+ static const uint32_t kZap32Bits = 0xf3f3f3f3;
+ static const uint8_t kZapByte = 0xf3;
#endif // DEBUG
~Heap();
« 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