From 4beb3856726ca30d33cd988f1daae85735f22a96 Mon Sep 17 00:00:00 2001 From: Luke Butler Date: Tue, 17 Oct 2023 15:57:23 -0400 Subject: [PATCH] Update test.c --- packages/epanet-engine/test.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/epanet-engine/test.c b/packages/epanet-engine/test.c index dae4eb8..c66e88e 100644 --- a/packages/epanet-engine/test.c +++ b/packages/epanet-engine/test.c @@ -89,9 +89,11 @@ int netbuilder() } EMSCRIPTEN_KEEPALIVE -int getversion2(int *i) +int getversion() { - return EN_getversion(i); + int i; + EN_getversion(*i); + return i; } void writeConsole(char *s)