TBR=iposva@chromium.org
Review URL: http://codereview.chromium.org/150158
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2316
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
#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;