Commit a345930b41c4ffaabaa3a0816179ee13ebaad136

Authored by Perry Werneck
1 parent 61474b33
Exists in master and in 1 other branch develop

Fixing windows build.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/testprogram/testprogram.cc
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 if(strcasecmp(cmdline.c_str(),"connect") == 0) { 95 if(strcasecmp(cmdline.c_str(),"connect") == 0) {
96 96
97 cout << "Connecting..." << endl; 97 cout << "Connecting..." << endl;
98 - rc = hllapi_connect(host,1); 98 + rc = hllapi_connect((LPSTR) host,1);
99 cout << "hllapi_connect returns with rc=" << rc << " (" << hllapi_get_last_error() << ")" << endl; 99 cout << "hllapi_connect returns with rc=" << rc << " (" << hllapi_get_last_error() << ")" << endl;
100 100
101 } else if(strcasecmp(cmdline.c_str(),"wait") == 0) { 101 } else if(strcasecmp(cmdline.c_str(),"wait") == 0) {