summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 11:23:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 11:23:10 (GMT)
commit96af7fcd51a853aac2eb09b6de444a9789e04638 (patch)
tree162be0d6576b34426a0e24068d5d3bfbff5ed2c7 /win
parent20f89a4c1b7b01af4df9e873f735ede8a70fd3a5 (diff)
downloadtcl-96af7fcd51a853aac2eb09b6de444a9789e04638.zip
tcl-96af7fcd51a853aac2eb09b6de444a9789e04638.tar.gz
tcl-96af7fcd51a853aac2eb09b6de444a9789e04638.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win')
-rw-r--r--win/tclWin32Dll.c2
-rw-r--r--win/tclWinChan.c2
-rw-r--r--win/tclWinDde.c2
-rw-r--r--win/tclWinFCmd.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c
index 4bfd046..ba3af7c 100644
--- a/win/tclWin32Dll.c
+++ b/win/tclWin32Dll.c
@@ -529,7 +529,7 @@ int
TclpCheckStackSpace()
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(__WIN64__)
EXCEPTION_REGISTRATION registration;
#endif
int retval = 0;
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index 67a12a0..d06ff50 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -962,7 +962,7 @@ Tcl_MakeFileChannel(rawHandle, mode)
int mode; /* ORed combination of TCL_READABLE and
* TCL_WRITABLE to indicate file mode. */
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(_WIN64)
EXCEPTION_REGISTRATION registration;
#endif
char channelName[16 + TCL_INTEGER_SPACE];
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index f5882c6..d180878 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -173,7 +173,7 @@ Initialize(void)
if (ddeInstance == 0) {
Tcl_MutexLock(&ddeMutex);
if (ddeInstance == 0) {
- if (DdeInitialize(&ddeInstance, DdeServerProc,
+ if (DdeInitialize(&ddeInstance, (PFNCALLBACK) DdeServerProc,
CBF_SKIP_REGISTRATIONS
| CBF_SKIP_UNREGISTRATIONS
| CBF_FAIL_POKES, 0)
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index e0861f2..231e4b7 100644
--- a/win/tclWinFCmd.c
+++ b/win/tclWinFCmd.c
@@ -180,7 +180,7 @@ DoRenameFile(
CONST TCHAR *nativeDst) /* New pathname for file or directory
* (native). */
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(_WIN64)
EXCEPTION_REGISTRATION registration;
#endif
DWORD srcAttr, dstAttr;
@@ -554,7 +554,7 @@ DoCopyFile(
CONST TCHAR *nativeSrc, /* Pathname of file to be copied (native). */
CONST TCHAR *nativeDst) /* Pathname of file to copy to (native). */
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(_WIN64)
EXCEPTION_REGISTRATION registration;
#endif
int retval = -1;