[pywin32-checkins] pywin32/win32/src win32credmodule.cpp,1.2,1.3
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2006-12-26 03:02:06
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27383/win32/src Modified Files: win32credmodule.cpp Log Message: Fix bug in PyWinObject_AsDWORDArray Index: win32credmodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32credmodule.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** win32credmodule.cpp 8 Sep 2006 06:49:55 -0000 1.2 --- win32credmodule.cpp 26 Dec 2006 03:02:03 -0000 1.3 *************** *** 271,276 **** for (tuple_index=0; tuple_index<*item_cnt; tuple_index++){ tuple_item=PyTuple_GET_ITEM(dwords_tuple,tuple_index); ! *pdwords[tuple_index]=PyInt_AsLong(tuple_item); ! if (*pdwords[tuple_index]==-1 && PyErr_Occurred()){ ret=FALSE; break; --- 271,276 ---- for (tuple_index=0; tuple_index<*item_cnt; tuple_index++){ tuple_item=PyTuple_GET_ITEM(dwords_tuple,tuple_index); ! (*pdwords)[tuple_index]=PyInt_AsLong(tuple_item); ! if (((*pdwords)[tuple_index]==-1) && PyErr_Occurred()){ ret=FALSE; break; |