summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bltVector.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bltVector.C b/src/bltVector.C
index 83e9c0f..51a2596 100644
--- a/src/bltVector.C
+++ b/src/bltVector.C
@@ -261,7 +261,7 @@ int Blt::Vec_GetIndexRange(Tcl_Interp* interp, Vector* vPtr, const char *string,
int ielem;
char* colon = NULL;
if (flags & INDEX_COLON)
- colon = strchr(string, ':');
+ colon = (char*)strchr(string, ':');
if (colon != NULL) {
if (string == colon) {