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);
}
|