Commit 296f3377 authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Fix compilation with GCC 8

parent 6e37bce4
Pipeline #1309760 passed with stage
in 4 minutes and 58 seconds
......@@ -184,7 +184,7 @@ TGridResult *TJAlien::Command(const char *command, bool interactive, UInt_t stre
if (interactive) Info("Command", "Received only command");
result = (TJAlienResult*) connection.RunJsonCommand(sCmd, 0, &metadata, &readBuffer);
if (result)
TJAlienResultRewriter().Rewrite((std::string)*sCmd, result);
TJAlienResultRewriter().Rewrite(sCmd->Data(), result);
}
else
{
......
......@@ -114,7 +114,7 @@ void TJAlienConnectionManager::ConnectJBox(TJAlienCredentialsObject c)
// Try to find jclient_token file
TJClientFile jcf;
if (jcf.isValid) {
jboxHost = (std::string) jcf.fHost;
jboxHost = jcf.fHost.Data();
jboxPort = jcf.fWSPort;
}
else if (gDebug >= 1) Info("TJAlienConnectionManager", "The JClient file is not valid - not connecting to JBox!");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment