Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1:/tmp/cvs-serv30156
Modified Files:
PyACL.cpp
Log Message:
Fix #include case, and cast -1 to DWORD to avoid strict warning.
Index: PyACL.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PyACL.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PyACL.cpp 12 Mar 2003 12:42:35 -0000 1.4
--- PyACL.cpp 31 Oct 2003 12:08:00 -0000 1.5
***************
*** 9,13 ****
#include "PySecurityObjects.h"
#include "accctrl.h"
! #include "Aclapi.h"
// @pymethod <o PyACL>|pywintypes|ACL|Creates a new ACL object
--- 9,13 ----
#include "PySecurityObjects.h"
#include "accctrl.h"
! #include "aclapi.h"
// @pymethod <o PyACL>|pywintypes|ACL|Creates a new ACL object
***************
*** 67,71 ****
BOOL ret = TRUE;
DWORD aceind = 0;
! DWORD ace_insert_ind = -1;
DWORD aclsize=pacl->AclSize;
DWORD acecount=pacl->AceCount;
--- 67,71 ----
BOOL ret = TRUE;
DWORD aceind = 0;
! DWORD ace_insert_ind = (DWORD)-1;
DWORD aclsize=pacl->AclSize;
DWORD acecount=pacl->AceCount;
|