diff options
author | fvogel <fvogelnew1@free.fr> | 2023-01-11 23:33:22 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-01-11 23:33:22 (GMT) |
commit | 12c0146aaec25379a108581c8582dd79eedcc066 (patch) | |
tree | 1e82efd77211ca540245254084e9b019d1ba2463 | |
parent | de829322e7a608e3f34d647a6674c32909c24689 (diff) | |
download | tk-12c0146aaec25379a108581c8582dd79eedcc066.zip tk-12c0146aaec25379a108581c8582dd79eedcc066.tar.gz tk-12c0146aaec25379a108581c8582dd79eedcc066.tar.bz2 |
The last missing change sprintf --> snprintf.
-rw-r--r-- | win/tkWinWindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c index c47504d..872ac40 100644 --- a/win/tkWinWindow.c +++ b/win/tkWinWindow.c @@ -178,7 +178,7 @@ TkpPrintWindowId( { HWND hwnd = (window) ? Tk_GetHWND(window) : 0; - sprintf(buf, "0x%" TCL_Z_MODIFIER "x", (size_t)hwnd); + snprintf(buf, TCL_INTEGER_SPACE, "0x%" TCL_Z_MODIFIER "x", (size_t)hwnd); } /* |