summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 23:07:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-09 23:07:44 (GMT)
commitefb26166cd9347b21a12fe840e2c80d1e660cf31 (patch)
tree97e843c80e8663af254ef0ef1a70a46b2a2fdc57 /win
parentb8a2ecfb4e29ea6072e357d480c0af57b186bf1f (diff)
downloadtk-efb26166cd9347b21a12fe840e2c80d1e660cf31.zip
tk-efb26166cd9347b21a12fe840e2c80d1e660cf31.tar.gz
tk-efb26166cd9347b21a12fe840e2c80d1e660cf31.tar.bz2
Fix [7ca9a5b7cc]: Segfault due to pointer truncation in DLL_PROCESS_DETACH
Diffstat (limited to 'win')
-rw-r--r--win/tkWin32Dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWin32Dll.c b/win/tkWin32Dll.c
index 3c3d83a..88b0507 100644
--- a/win/tkWin32Dll.c
+++ b/win/tkWin32Dll.c
@@ -150,7 +150,7 @@ DllMain(
* Call TkFinalize
*/
- "movq $0x0, 0x0(%%esp)" "\n\t"
+ "movq $0x0, 0x0(%%rsp)" "\n\t"
"call TkFinalize" "\n\t"
/*