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

Unified Diff: runtime/vm/snapshot.h

Issue 415513002: - Fix a lot of warnings generated by -Wshorten-64-to-32 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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
Index: runtime/vm/snapshot.h
===================================================================
--- runtime/vm/snapshot.h (revision 38492)
+++ runtime/vm/snapshot.h (working copy)
@@ -141,7 +141,7 @@
// Getters.
const uint8_t* content() const { return content_; }
- int64_t length() const { return length_; }
+ intptr_t length() const { return static_cast<intptr_t>(length_); }
Kind kind() const { return static_cast<Kind>(kind_); }
bool IsMessageSnapshot() const { return kind_ == kMessage; }

Powered by Google App Engine
This is Rietveld 408576698