$OpenBSD: patch-cmn_xetp_cpp,v 1.2 2010/06/15 19:04:05 landry Exp $ --- cmn/xetp.cpp.orig Wed Jan 19 12:54:30 2000 +++ cmn/xetp.cpp Tue Jun 15 20:46:20 2010 @@ -29,9 +29,12 @@ #include "stdafx.h" -#include +#include + +using namespace std; + #if X11 -#include +#include #endif #if WIN32 #include @@ -159,7 +162,7 @@ void XETP::send_objects(OutStreamP out,const PtrList & for (n = 0; n < physicals.length(); n++) { PhysicalP p = (PhysicalP)physicals.get(n); // computing object_length twice, but who cares. - _send_object(out,p,turn,(TickType)tickTypes.get(n), + _send_object(out,p,turn,(intptr_t)tickTypes.get(n), compute_object_length(p)); }