From a716d39a60b0197cc7944e713b3ecd3ea055dfef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jun 2012 15:05:52 +0000 Subject: warning fixes in OTR git-svn-id: http://svn.miranda-ng.org/main/trunk@634 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj | 8 ++++---- plugins/MirOTR/libgcrypt-1.4.6/src/gcrypt.h | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'plugins/MirOTR/libgcrypt-1.4.6') diff --git a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj index b218a4368d..18d39ec330 100644 --- a/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj +++ b/plugins/MirOTR/libgcrypt-1.4.6/libgcrypt146lib.vcxproj @@ -72,7 +72,7 @@ Full custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) + WIN32;NDEBUG;_LIB;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Level3 Fast Size @@ -82,7 +82,7 @@ Full custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories) - WIN64;NDEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) + WIN64;NDEBUG;_LIB;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Level3 Fast Size @@ -92,7 +92,7 @@ Disabled custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) + WIN32;_DEBUG;_LIB;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Level3 @@ -103,7 +103,7 @@ Disabled custom;inc;cipher;mpi;mpi\generic;src;..\libgpg-error-1.9;%(AdditionalIncludeDirectories) - WIN64;_DEBUG;_LIB;HAVE_CONFIG_H;%(PreprocessorDefinitions) + WIN64;_DEBUG;_LIB;HAVE_CONFIG_H;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Level3 diff --git a/plugins/MirOTR/libgcrypt-1.4.6/src/gcrypt.h b/plugins/MirOTR/libgcrypt-1.4.6/src/gcrypt.h index 45648a0762..8c110fec0b 100644 --- a/plugins/MirOTR/libgcrypt-1.4.6/src/gcrypt.h +++ b/plugins/MirOTR/libgcrypt-1.4.6/src/gcrypt.h @@ -22,8 +22,6 @@ #ifndef _GCRYPT_H #define _GCRYPT_H -#define _CRT_SECURE_NO_WARNINGS - #include #include #include @@ -40,7 +38,7 @@ # include # include # ifndef __GNUC__ - typedef long ssize_t; + typedef signed int ssize_t; typedef int pid_t; # endif /*!__GNUC__*/ #else -- cgit v1.2.3