diff options
Diffstat (limited to 'src/pj_apply_vgridshift.c')
| -rw-r--r-- | src/pj_apply_vgridshift.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pj_apply_vgridshift.c b/src/pj_apply_vgridshift.c index 6435b954..d5baf9e8 100644 --- a/src/pj_apply_vgridshift.c +++ b/src/pj_apply_vgridshift.c @@ -33,6 +33,11 @@ #include "proj_internal.h" #include "projects.h" +#if defined(_MSC_VER) +// Squelch warnings about unsafe use of sprintf, etc +# pragma warning (disable: 4996) +#endif + static double pj_read_vgrid_value( PJ *defn, LP input, int *gridlist_count_p, PJ_GRIDINFO **tables, struct CTABLE *ct) { int itable = 0; double value = HUGE_VAL; |
