aboutsummaryrefslogtreecommitdiff
path: root/src/deriv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/deriv.cpp')
-rw-r--r--src/deriv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deriv.cpp b/src/deriv.cpp
index 72a69440..3839809e 100644
--- a/src/deriv.cpp
+++ b/src/deriv.cpp
@@ -6,8 +6,8 @@
#include "proj.h"
#include "projects.h"
-int pj_deriv(LP lp, double h, const PJ *P, struct DERIVS *der) {
- XY t;
+int pj_deriv(PJ_LP lp, double h, const PJ *P, struct DERIVS *der) {
+ PJ_XY t;
/* get rid of constness until we can do it for real */
PJ *Q = (PJ *) P;
if (nullptr==Q->fwd)