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

Unified Diff: runtime/bin/filter.cc

Issue 14628009: - Fixed some old-style casts. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | runtime/vm/debugger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/filter.cc
===================================================================
--- runtime/bin/filter.cc (revision 22312)
+++ runtime/bin/filter.cc (working copy)
@@ -166,9 +166,10 @@
Dart_Handle Filter::SetFilterPointerNativeField(Dart_Handle filter,
Filter* filter_pointer) {
- return Dart_SetNativeInstanceField(filter,
- kFilterPointerNativeField,
- (intptr_t)filter_pointer);
+ return Dart_SetNativeInstanceField(
+ filter,
+ kFilterPointerNativeField,
+ reinterpret_cast<intptr_t>(filter_pointer));
}
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698