diff --git a/storage_tiering_utilities.cpp b/storage_tiering_utilities.cpp index 40eed42..543b0cf 100644 --- a/storage_tiering_utilities.cpp +++ b/storage_tiering_utilities.cpp @@ -1,7 +1,9 @@ - #include "storage_tiering_utilities.hpp" + #include "rcMisc.h" +#include + namespace irods { std::string any_to_string(boost::any& _a) { if(_a.type() == typeid(std::string)) { @@ -12,7 +14,7 @@ namespace irods { } else if(_a.type() == typeid(msParam_t*)) { msParam_t* msp = boost::any_cast(_a); - if(msp->type == STR_MS_T) { + if(std::strcmp(msp->type, STR_MS_T) == 0) { return static_cast(msp->inOutStruct); } else {