diff options
Diffstat (limited to 'src/bltVector.C')
-rw-r--r-- | src/bltVector.C | 3 |
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; } } |