summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-15 16:02:05 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-15 16:02:05 +0200
commite65d28484d3467bf34ab1749aca8a3a43d31b7b2 (patch)
treec2775f35947eaabb8aec23e7a9fd6b217679691e /source
parentRemoved the deprecated confusing E_BLOCK_WOOD (diff)
downloadcuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar.gz
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar.bz2
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar.lz
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar.xz
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.tar.zst
cuberite-e65d28484d3467bf34ab1749aca8a3a43d31b7b2.zip
Diffstat (limited to '')
-rw-r--r--source/md5/md5.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/md5/md5.cpp b/source/md5/md5.cpp
index 39337da5d..ddbd1a381 100644
--- a/source/md5/md5.cpp
+++ b/source/md5/md5.cpp
@@ -35,6 +35,8 @@ documentation and/or software.
/* interface header */
#include "md5.h"
+// _X 2012_07_15: disable MSVC warnings on "insecure" functions, such as sprintf() - we know they're being used securely here
+#define _CRT_SECURE_NO_WARNINGS