summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/AutoRun/autorun.h2
-rw-r--r--plugins/ClientChangeNotify/ClientChangeNotify.cpp2
-rw-r--r--plugins/UserGuide/commonheaders.h2
-rw-r--r--plugins/YAPP/common.h2
4 files changed, 7 insertions, 1 deletions
diff --git a/plugins/AutoRun/autorun.h b/plugins/AutoRun/autorun.h
index a991061066..8c621e2546 100644
--- a/plugins/AutoRun/autorun.h
+++ b/plugins/AutoRun/autorun.h
@@ -1,6 +1,8 @@
#define IDD_OPT_AUTORUN 101
#define IDC_AUTORUN 102
+#define _CRT_SECURE_NO_WARNINGS
+
#define MIRANDA_VER 0x0A00
#define SUB_KEY "Software\\Microsoft\\Windows\\CurrentVersion\\Run"
#define ModuleName "Autorun"
diff --git a/plugins/ClientChangeNotify/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/ClientChangeNotify.cpp
index 4d14b66e11..d70b76e943 100644
--- a/plugins/ClientChangeNotify/ClientChangeNotify.cpp
+++ b/plugins/ClientChangeNotify/ClientChangeNotify.cpp
@@ -143,7 +143,7 @@ static int CALLBACK MenuWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
}
-static VOID CALLBACK ShowContactMenu(UINT_PTR wParam)
+static VOID NTAPI ShowContactMenu(ULONG_PTR wParam)
// wParam = hContact
{
POINT pt;
diff --git a/plugins/UserGuide/commonheaders.h b/plugins/UserGuide/commonheaders.h
index 9ef8801e05..498dbb5b13 100644
--- a/plugins/UserGuide/commonheaders.h
+++ b/plugins/UserGuide/commonheaders.h
@@ -1,3 +1,5 @@
+#define _CRT_SECURE_NO_WARNINGS
+
#define MIRANDA_VER 0x0A00
#include <windows.h>
diff --git a/plugins/YAPP/common.h b/plugins/YAPP/common.h
index ad45eff2a5..8b11eca6f0 100644
--- a/plugins/YAPP/common.h
+++ b/plugins/YAPP/common.h
@@ -5,6 +5,8 @@
#pragma once
+#define _CRT_SECURE_NO_WARNINGS
+
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows XP or later.