From a345930b41c4ffaabaa3a0816179ee13ebaad136 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 12 Aug 2019 13:58:29 -0300 Subject: [PATCH] Fixing windows build. --- src/testprogram/testprogram.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testprogram/testprogram.cc b/src/testprogram/testprogram.cc index 33072c8..51ab806 100644 --- a/src/testprogram/testprogram.cc +++ b/src/testprogram/testprogram.cc @@ -95,7 +95,7 @@ if(strcasecmp(cmdline.c_str(),"connect") == 0) { cout << "Connecting..." << endl; - rc = hllapi_connect(host,1); + rc = hllapi_connect((LPSTR) host,1); cout << "hllapi_connect returns with rc=" << rc << " (" << hllapi_get_last_error() << ")" << endl; } else if(strcasecmp(cmdline.c_str(),"wait") == 0) { -- libgit2 0.21.2