summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2010-12-31 16:13:34 +0000
committerglx <glx@openttd.org>2010-12-31 16:13:34 +0000
commitaa7a587ca35f4c3224f6614afaea61c930453653 (patch)
tree05faf36b7b08bd989069bf5211d146e42bb69e0c /src/stdafx.h
parent64c7cc51b5d24b1957ec1c7e8fd919d6783ab543 (diff)
downloadopenttd-aa7a587ca35f4c3224f6614afaea61c930453653.tar.xz
(svn r21680) -Fix (r21656): of course MSVC complains
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 8a8595722..0c7507ff8 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -164,7 +164,7 @@
#error "Only MSVC 2005 or higher are supported. MSVC 2003 and earlier are not! Upgrade your compiler."
#endif /* (_MSC_VER < 1400) */
#pragma warning(disable: 4291) // no matching operator delete found; memory will not be freed if initialization throws an exception (reason: our overloaded functions never throw an exception)
- #pragma warning(disable: 4996) // 'strdup' was declared deprecated
+ #pragma warning(disable: 4996) // 'function': was declared deprecated
#define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions
#pragma warning(disable: 6308) // code analyzer: 'realloc' might return null pointer: assigning null pointer to 't_ptr', which is passed as an argument to 'realloc', will cause the original memory block to be leaked
#pragma warning(disable: 6011) // code analyzer: Dereferencing NULL pointer 'pfGetAddrInfo': Lines: 995, 996, 998, 999, 1001