--- src/os/OsMsgQ.cpp.orig Sat Apr 7 18:13:52 2007 +++ src/os/OsMsgQ.cpp Sat Apr 7 18:14:22 2007 @@ -11,6 +11,7 @@ #ifdef __pingtel_on_posix__ # include #endif +#include #include "utl/UtlRscTrace.h" @@ -41,7 +42,7 @@ mName(name) { if (mName != "") - OsUtil::insertKeyValue(MSGQ_PREFIX, mName, (int) this); + OsUtil::insertKeyValue(MSGQ_PREFIX, mName, (int) ((uintptr_t)this)); } // Destructor