summaryrefslogtreecommitdiffstats
path: root/win/tclAppInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-18 14:38:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-18 14:38:26 (GMT)
commitf75f76c9d479632f92d722036fdb45311338021f (patch)
tree10f652d15b7acb570ecce58ddcc42c714e6f39ce /win/tclAppInit.c
parentf5ea63343e4245c7b8e5a0872e65c867e5e9d6f2 (diff)
downloadtcl-f75f76c9d479632f92d722036fdb45311338021f.zip
tcl-f75f76c9d479632f92d722036fdb45311338021f.tar.gz
tcl-f75f76c9d479632f92d722036fdb45311338021f.tar.bz2
Finish libtommath's constification work. All done (hopefully). And make sure that C preprocessor directives have the '#' as first character on the line.
Diffstat (limited to 'win/tclAppInit.c')
-rw-r--r--win/tclAppInit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclAppInit.c b/win/tclAppInit.c
index e06eaf5..ef9f98b 100644
--- a/win/tclAppInit.c
+++ b/win/tclAppInit.c
@@ -263,8 +263,8 @@ setargv(
}
/* Make sure we don't call ckalloc through the (not yet initialized) stub table */
- #undef Tcl_Alloc
- #undef Tcl_DbCkalloc
+# undef Tcl_Alloc
+# undef Tcl_DbCkalloc
argSpace = ckalloc(size * sizeof(char *)
+ (_tcslen(cmdLine) * sizeof(TCHAR)) + sizeof(TCHAR));