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

Unified Diff: runtime/lib/isolate.cc

Issue 139043003: - Address warnings about 64-bit to 32-bit conversions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/lib/isolate.cc
===================================================================
--- runtime/lib/isolate.cc (revision 31816)
+++ runtime/lib/isolate.cc (working copy)
@@ -43,7 +43,7 @@
// TODO(turnidge): Move to DartLibraryCalls.
-static RawObject* ReceivePortCreate(intptr_t port_id) {
+static RawObject* ReceivePortCreate(Dart_Port port_id) {
Isolate* isolate = Isolate::Current();
Function& func =
Function::Handle(isolate,
@@ -78,7 +78,7 @@
DEFINE_NATIVE_ENTRY(RawReceivePortImpl_factory, 1) {
ASSERT(AbstractTypeArguments::CheckedHandle(
arguments->NativeArgAt(0)).IsNull());
- intptr_t port_id =
+ Dart_Port port_id =
PortMap::CreatePort(arguments->isolate()->message_handler());
const Object& port = Object::Handle(ReceivePortCreate(port_id));
if (port.IsError()) {

Powered by Google App Engine
This is Rietveld 408576698