summaryrefslogtreecommitdiffstats
path: root/src/bltVector.C
diff options
context:
space:
mode:
authorjoye <joye>2013-09-04 19:24:42 (GMT)
committerjoye <joye>2013-09-04 19:24:42 (GMT)
commit4b38ca7df5b658d6b24afb68cf1d506055636e95 (patch)
treeb2188bb0c022e94d04ec57c1f0be5eda85749dfb /src/bltVector.C
parentb0a1f1368fd9300b4208a343a524b0ab9723d315 (diff)
downloadblt-4b38ca7df5b658d6b24afb68cf1d506055636e95.zip
blt-4b38ca7df5b658d6b24afb68cf1d506055636e95.tar.gz
blt-4b38ca7df5b658d6b24afb68cf1d506055636e95.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltVector.C')
-rw-r--r--src/bltVector.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bltVector.C b/src/bltVector.C
index b876872..fa6ee88 100644
--- a/src/bltVector.C
+++ b/src/bltVector.C
@@ -47,6 +47,7 @@
#include "bltNsUtil.h"
#include "bltSwitch.h"
#include <bltMath.h>
+#include <time.h>
#ifndef TCL_NAMESPACE_ONLY
#define TCL_NAMESPACE_ONLY TCL_GLOBAL_ONLY
@@ -706,7 +707,7 @@ UnmapVariable(Vector *vPtr)
Tcl_UnsetVar2(interp, vPtr->arrayName, (char *)NULL, vPtr->varFlags);
if (vPtr->arrayName != NULL) {
- free(vPtr->arrayName);
+ free((void*)(vPtr->arrayName));
vPtr->arrayName = NULL;
}
}