This patch uses %p to format pointers, instead of %x with an int cast.
--- assa/Reactor.cpp.orig 2006-08-13 20:56:22.000000000 +0200 +++ assa/Reactor.cpp 2006-09-17 23:27:00.821168000 +0200 @@ -247,8 +247,8 @@ } if (ret == true) { - DL((REACT,"Found EvtH \"%s\"(0x%X)\n", - eh_->get_id ().c_str (),int(eh_))); + DL((REACT,"Found EvtH \"%s\"(%p)\n", + eh_->get_id ().c_str (),eh_)); eh_->handle_close (fd); } @@ -327,8 +327,8 @@ } if (ret == true && ehp != NULL) { - DL((REACT,"Removed EvtH \"%s\"(0x%X)\n", - ehp->get_id ().c_str (), int(ehp))); + DL((REACT,"Removed EvtH \"%s\"(%p)\n", + ehp->get_id ().c_str (), ehp)); ehp->handle_close (fd_); }