Revision: 19454
Author:   [email protected]
Date:     Tue Feb 18 14:21:09 2014 UTC
Log:      Fix compile on Windows

[email protected],[email protected]
LOG=N

Review URL: https://codereview.chromium.org/170543002
http://code.google.com/p/v8/source/detail?r=19454

Modified:
 /branches/bleeding_edge/src/heap-snapshot-generator.cc

=======================================
--- /branches/bleeding_edge/src/heap-snapshot-generator.cc Tue Feb 18 13:56:07 2014 UTC +++ /branches/bleeding_edge/src/heap-snapshot-generator.cc Tue Feb 18 14:21:09 2014 UTC
@@ -908,7 +908,8 @@
                                     HeapEntry::Type type,
                                     const char* name,
                                     size_t size) {
- SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(address, size);
+  SnapshotObjectId object_id = heap_object_map_->FindOrAddEntry(
+      address, static_cast<unsigned int>(size));
   return snapshot_->AddEntry(type, name, object_id, size);
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to