summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2007-08-06 17:25:49 (GMT)
committerKevin B Kenny <kennykb@acm.org>2007-08-06 17:25:49 (GMT)
commitd8bf2f02b72a097b5669a09b66a62f75d7952850 (patch)
tree222e2b6ac84963cee6252d5f35f19d7e5498bc77 /win
parentb5fea5d9acca98972b3069429e1dc65459c5875b (diff)
downloadtcl-d8bf2f02b72a097b5669a09b66a62f75d7952850.zip
tcl-d8bf2f02b72a097b5669a09b66a62f75d7952850.tar.gz
tcl-d8bf2f02b72a097b5669a09b66a62f75d7952850.tar.bz2
* generic/tclGetDate.y: Added a cast to the definition of YYFREE to
silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinTest.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index 575c3c2..75d4101 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinTest.c,v 1.19 2007/04/16 13:36:36 dkf Exp $
+ * RCS: @(#) $Id: tclWinTest.c,v 1.20 2007/08/06 17:25:50 kennykb Exp $
*/
#include "tclInt.h"
@@ -676,10 +676,11 @@ TestplatformChmod(
*(getSidSubAuthorityProc( userSid, 0)) = SECURITY_WORLD_RID;
/* If curAclPresent == false then curAcl and curAclDefaulted not valid */
- if (!getSecurityDescriptorDaclProc(secDesc, &curAclPresent,
- &curAcl, &curAclDefaulted))
+ if (!getSecurityDescriptorDaclProc((PSECURITY_DESCRIPTOR)secDesc,
+ &curAclPresent, &curAcl,
+ &curAclDefaulted)) {
goto done;
-
+ }
if (!curAclPresent || !curAcl) {
ACLSize.AclBytesInUse = 0;
ACLSize.AceCount = 0;