aboutsummaryrefslogtreecommitdiff
path: root/src/cct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cct.c')
-rw-r--r--src/cct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cct.c b/src/cct.c
index a1c275b5..ae294190 100644
--- a/src/cct.c
+++ b/src/cct.c
@@ -81,6 +81,10 @@ Thomas Knudsen, thokn@sdfe.dk, 2016-05-25/2017-10-26
#include <string.h>
#include <math.h>
+#if defined(_MSC_VER)
+// Squelch warnings about unsafe use of sprintf, etc
+# pragma warning (disable: 4996)
+#endif
double proj_strtod(const char *str, char **endptr);
double proj_atof(const char *str);