[pywin32-checkins] pywin32/com/win32com/src PyIUnknown.cpp, 1.11, 1.12
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-07-04 18:03:17
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21664/com/win32com/src Modified Files: PyIUnknown.cpp Log Message: Fix a couple of 64-bit warnings Index: PyIUnknown.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PyIUnknown.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** PyIUnknown.cpp 19 Apr 2006 22:37:56 -0000 1.11 --- PyIUnknown.cpp 4 Jul 2007 18:03:18 -0000 1.12 *************** *** 38,42 **** // @comm The repr of this object displays both the object's address, and its attached IUnknown's address TCHAR buf[80]; ! wsprintf(buf, _T("<%hs at 0x%0lx with obj at 0x%0lx>"),ob_type->tp_name, (long)(PyObject *)this, (long)m_obj); return PyString_FromTCHAR(buf); } --- 38,42 ---- // @comm The repr of this object displays both the object's address, and its attached IUnknown's address TCHAR buf[80]; ! wsprintf(buf, _T("<%hs at 0x%0lp with obj at 0x%0lp>"),ob_type->tp_name, this, m_obj); return PyString_FromTCHAR(buf); } |