summaryrefslogtreecommitdiffstats
path: root/generic/tclGetDate.y
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 /generic/tclGetDate.y
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 'generic/tclGetDate.y')
-rw-r--r--generic/tclGetDate.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclGetDate.y b/generic/tclGetDate.y
index 9a8be8c..3496042 100644
--- a/generic/tclGetDate.y
+++ b/generic/tclGetDate.y
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclGetDate.y,v 1.36 2007/06/29 03:16:26 das Exp $
+ * RCS: @(#) $Id: tclGetDate.y,v 1.37 2007/08/06 17:25:50 kennykb Exp $
*/
%{
@@ -85,7 +85,7 @@ typedef struct DateInfo {
#define YYLEX_PARAM info
#define YYMALLOC ckalloc
-#define YYFREE ckfree
+#define YYFREE(x) (ckfree((void*) (x)))
#define yyDSTmode (((DateInfo *) info)->dateDSTmode)
#define yyDayOrdinal (((DateInfo *) info)->dateDayOrdinal)