From 670440b55c1a9aa040b1210f65acc6a72f21f615 Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Thu, 23 Aug 2018 07:56:11 -0400 Subject: [PATCH] Fixing function definition for EN_getcurve --- src/epanet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epanet.c b/src/epanet.c index 7f297ee..57879f0 100644 --- a/src/epanet.c +++ b/src/epanet.c @@ -3648,7 +3648,7 @@ int DLLEXPORT EN_getpumptype(EN_ProjectHandle ph, int index, int *type) { return (0); } -int DLLEXPORT EN_getcurvetype(EN_Project *p, int curveindex, int *type) { +int DLLEXPORT EN_getcurvetype(EN_ProjectHandle ph, int curveindex, int *type) { EN_Network *net = &p->network;