diff options
Diffstat (limited to 'src/bltVector.C')
-rw-r--r-- | src/bltVector.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bltVector.C b/src/bltVector.C index 1f7d1d4..bae2fcd 100644 --- a/src/bltVector.C +++ b/src/bltVector.C @@ -1261,7 +1261,7 @@ Blt_Vec_Create( do { /* Generate a unique vector name. */ char string[200]; - sprintf_s(string, 200, "vector%d", dataPtr->nextId++); + snprintf(string, 200, "vector%d", dataPtr->nextId++); objName.name = string; qualName = Blt_MakeQualifiedName(&objName, &dString); hPtr = Tcl_FindHashEntry(&dataPtr->vectorTable, qualName); |