From ad7c978ef5a921fe14dbea3429d7acb4f2c902ca Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Fri, 29 Dec 2006 18:07:41 +0000 Subject: [PATCH] better hex output --- panda/src/express/datagramIterator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/express/datagramIterator.cxx b/panda/src/express/datagramIterator.cxx index 341973267b..af27cc8521 100644 --- a/panda/src/express/datagramIterator.cxx +++ b/panda/src/express/datagramIterator.cxx @@ -179,7 +179,7 @@ write(ostream &out, unsigned int indent) const { out.width(indent+2); out<<""<<"_current_index "<<_current_index; if (_datagram) { out<<""<<" (of "<<(get_datagram().get_length())<<")"; - out<<""<<" or in hex that's "<<(void*)_current_index<<" (of " + out<<""<<" / 0x"<<(void*)_current_index<<" (of 0x" <<(void*)(get_datagram().get_length())<<")\n"; get_datagram().write(out, indent+2); } else {