aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_chamb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/PJ_chamb.c')
-rw-r--r--src/PJ_chamb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/PJ_chamb.c b/src/PJ_chamb.c
index d0b9250e..0a18ecf0 100644
--- a/src/PJ_chamb.c
+++ b/src/PJ_chamb.c
@@ -3,6 +3,11 @@
#include <proj.h>
#include "projects.h"
+#if defined(_MSC_VER)
+// Squelch warnings about unsafe use of sprintf, etc
+# pragma warning (disable: 4996)
+#endif
+
typedef struct { double r, Az; } VECT;
struct pj_opaque {
struct { /* control point data */