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

Unified Diff: runtime/vm/debugger_api_impl.cc

Issue 1146523004: Fix build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « 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/debugger_api_impl.cc
diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
index f4f893e14c1477b8af779f41b37d774554af731a..ae802a7a6347cd2d5088803ae84d2f3934a2a8d2 100644
--- a/runtime/vm/debugger_api_impl.cc
+++ b/runtime/vm/debugger_api_impl.cc
@@ -978,14 +978,14 @@ DART_EXPORT Dart_Handle Dart_SetLibraryDebuggable(intptr_t library_id,
DART_EXPORT Dart_Isolate Dart_GetIsolate(Dart_IsolateId isolate_id) {
// Dart_Isolate is now the same as Dart_IsolateId.
// TODO(johnmccutchan): Kill Dart_IsolateId.
- return reinterpret_cast<Dart_Isolate>(isolate_id);
+ return static_cast<Dart_Isolate>(isolate_id);
}
DART_EXPORT Dart_IsolateId Dart_GetIsolateId(Dart_Isolate dart_isolate) {
// Dart_Isolate is now the same as Dart_IsolateId.
// TODO(johnmccutchan): Kill Dart_IsolateId.
- return reinterpret_cast<Dart_IsolateId>(dart_isolate);
+ return static_cast<Dart_IsolateId>(dart_isolate);
}
} // namespace dart
« 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