use %p for pointers

This commit is contained in:
Jeff Hill
1997-06-30 23:40:50 +00:00
parent 5101067bcc
commit f5733cd3af
6 changed files with 18 additions and 6 deletions

View File

@@ -200,7 +200,7 @@ void exPV::show(unsigned level) const
printf("exPV: value=%f\n", (double) *this->pValue);
}
printf("exPV: interest=%d\n", this->interest);
printf("exPV: pScanTimer=%x\n", (unsigned) this->pScanTimer);
printf("exPV: pScanTimer=%p\n", this->pScanTimer);
}
}

View File

@@ -5,6 +5,9 @@
//
//
// $Log$
// Revision 1.5 1997/06/13 09:16:12 jhill
// connect proto changes
//
// Revision 1.4 1997/04/10 19:40:31 jhill
// API changes
//
@@ -145,7 +148,7 @@ caStatus caServerIO::init(caServerI &cas)
//
void caServerIO::show (unsigned /* level */) const
{
printf ("caServerIO at %x\n", (unsigned) this);
printf ("caServerIO at %p\n", this);
}
//

View File

@@ -247,7 +247,7 @@ void casDGIntfIO::clientHostName (char *pBuf, unsigned /* bufSize */) const
//
void casDGIntfIO::osdShow (unsigned level) const
{
printf ("casDGIntfIO at %x\n", (unsigned) this);
printf ("casDGIntfIO at %p\n", this);
if (level>=1u) {
char buf[64];
this->clientHostName(buf, sizeof(buf));

View File

@@ -5,6 +5,9 @@
//
//
// $Log$
// Revision 1.12 1997/06/13 09:16:16 jhill
// connect proto changes
//
// Revision 1.11 1997/05/01 19:59:09 jhill
// new header file for ipAddrToA()
//
@@ -240,7 +243,7 @@ xRecvStatus casStreamIO::osdRecv(char *pInBuf, bufSizeT nBytes,
//
void casStreamIO::osdShow (unsigned level) const
{
printf ("casStreamIO at %x\n", (unsigned) this);
printf ("casStreamIO at %p\n", this);
if (level>1u) {
char buf[64];
ipAddrToA(&this->addr, buf, sizeof(buf));

View File

@@ -6,6 +6,9 @@
*
*
* $Log$
* Revision 1.2 1996/09/16 18:27:09 jhill
* vxWorks port changes
*
* Revision 1.1 1996/09/04 22:06:45 jhill
* installed
*
@@ -98,7 +101,7 @@ casDGOS::~casDGOS()
void casDGOS::show(unsigned level)
{
this->casDGClient::show(level);
printf ("casDGOS at %x\n", (unsigned) this);
printf ("casDGOS at %p\n", this);
if (taskIdVerify(this->clientTId) == OK) {
taskShow(this->clientTId, level);
}

View File

@@ -4,6 +4,9 @@
//
//
// $Log$
// Revision 1.3 1996/11/02 00:55:01 jhill
// many improvements
//
// Revision 1.2 1996/09/16 18:27:11 jhill
// vxWorks port changes
//
@@ -108,7 +111,7 @@ casStreamOS::~casStreamOS()
void casStreamOS::show(unsigned level)
{
this->casStrmClient::show(level);
printf("casStreamOS at %x\n", (unsigned) this);
printf("casStreamOS at %p\n", this);
if (taskIdVerify(this->clientTId)==OK) {
taskShow(this->clientTId, level);
}