summaryrefslogtreecommitdiff
path: root/Lib/tcl/tclrun.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tcl/tclrun.swg')
-rw-r--r--Lib/tcl/tclrun.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tcl/tclrun.swg b/Lib/tcl/tclrun.swg
index e8136051f..df4cbaef1 100644
--- a/Lib/tcl/tclrun.swg
+++ b/Lib/tcl/tclrun.swg
@@ -707,7 +707,7 @@ SWIG_Tcl_GetArgs(Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[], const char
argerror:
{
char temp[32];
- sprintf(temp,"%d", argno+1);
+ SWIG_snprintf(temp, sizeof(temp), "%d", argno+1);
c = strchr(fmt,':');
if (!c) c = strchr(fmt,';');
if (!c) c = (char *)"";