Compilation fixes for gcc.

This commit is contained in:
Gunnar Beutner 2012-04-18 15:51:17 +02:00
parent efaa2a1fd1
commit f9bf1c3b75
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ bool Dictionary::GetValueString(string key, string *value)
if (!GetValueVariant(key, &data))
return false;
*value = data;
*value = static_cast<string>(data);
return true;
}

View File

@ -9,7 +9,7 @@ struct I2_JSONRPC_API NewMessageEventArgs : public EventArgs
typedef shared_ptr<NewMessageEventArgs> Ptr;
typedef weak_ptr<NewMessageEventArgs> WeakPtr;
Message Message;
icinga::Message Message;
};
class I2_JSONRPC_API JsonRpcClient : public TCPClient

View File

@ -10,7 +10,7 @@ private:
size_t m_Length;
void *m_Data;
static Dictionary::Ptr Netstring::GetDictionaryFromJson(cJSON *json);
static Dictionary::Ptr GetDictionaryFromJson(cJSON *json);
static cJSON *GetJsonFromDictionary(const Dictionary::Ptr& dictionary);
public: