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

Unified Diff: runtime/bin/dbg_connection_macos.cc

Issue 371123002: Minor cleanup in use of intptr_t vs int (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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 | « runtime/bin/dbg_connection_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/dbg_connection_macos.cc
===================================================================
--- runtime/bin/dbg_connection_macos.cc (revision 38031)
+++ runtime/bin/dbg_connection_macos.cc (working copy)
@@ -71,7 +71,7 @@
void DebuggerConnectionImpl::HandleEvent(struct kevent* event) {
- int ident = event->ident;
+ intptr_t ident = event->ident;
if (ident == DebuggerConnectionHandler::listener_fd_) {
if (DebuggerConnectionHandler::IsConnected()) {
FATAL("Cannot connect to more than one debugger.\n");
@@ -108,7 +108,7 @@
void DebuggerConnectionImpl::Handler(uword args) {
- static const intptr_t kMaxEvents = 4;
+ static const int kMaxEvents = 4;
struct kevent events[kMaxEvents];
while (1) {
« no previous file with comments | « runtime/bin/dbg_connection_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698