Author: [email protected]
Date: Wed Jul  1 02:11:33 2009
New Revision: 2316

Modified:
    branches/bleeding_edge/src/platform-macos.cc

Log:
Fix presubmit error.

[email protected]

Review URL: http://codereview.chromium.org/150158

Modified: branches/bleeding_edge/src/platform-macos.cc
==============================================================================
--- branches/bleeding_edge/src/platform-macos.cc        (original)
+++ branches/bleeding_edge/src/platform-macos.cc        Wed Jul  1 02:11:33 2009
@@ -513,10 +513,10 @@
  #else
  #error Unsupported Mac OS X host architecture.
  #endif  // V8_TARGET_ARCH_IA32
-        if (KERN_SUCCESS == thread_get_state(profiled_thread_,
-                                             flavor,
-                                             (natural_t*)&state,
-                                             &count)) {
+        if (thread_get_state(profiled_thread_,
+                             flavor,
+                             reinterpret_cast<natural_t*>(&state),
+                             &count) == KERN_SUCCESS) {
  #if V8_HOST_ARCH_X64
            UNIMPLEMENTED();
            sample.pc = 0;

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to