[pywin32-checkins] pywin32/win32/src/win32print win32print.cpp, 1.27, 1.28
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-08-16 05:09:53
|
Update of /cvsroot/pywin32/pywin32/win32/src/win32print In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12763/win32/src/win32print Modified Files: win32print.cpp Log Message: Fix some 64-bit warnings Index: win32print.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32print/win32print.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** win32print.cpp 3 Jun 2007 14:53:07 -0000 1.27 --- win32print.cpp 16 Aug 2007 05:09:52 -0000 1.28 *************** *** 1810,1817 **** PyObject *obdevmode=Py_None, *ret=NULL, *tuple_item; DWORD result, bufsize, bufindex; ! static size_t papernamesize=64; // same for DC_PAPERNAMES, DC_MEDIATYPENAMES, DC_MEDIAREADY, DC_FILEDEPENDENCIES ! static size_t binnamesize=24; // DC_BINNAMES ! static size_t personalitysize=32; // DC_PERSONALITY ! size_t retsize; if (!PyArg_ParseTuple(args,"ssh|O:DeviceCapabilities", &device, &port, &capability, &obdevmode)) --- 1810,1817 ---- PyObject *obdevmode=Py_None, *ret=NULL, *tuple_item; DWORD result, bufsize, bufindex; ! static DWORD papernamesize=64; // same for DC_PAPERNAMES, DC_MEDIATYPENAMES, DC_MEDIAREADY, DC_FILEDEPENDENCIES ! static DWORD binnamesize=24; // DC_BINNAMES ! static DWORD personalitysize=32; // DC_PERSONALITY ! DWORD retsize; if (!PyArg_ParseTuple(args,"ssh|O:DeviceCapabilities", &device, &port, &capability, &obdevmode)) |