Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 17, 2009, 11:53:35 PM (15 years ago)
Author:
rgrieder
Message:

Found a few more C-Style casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/TclThreadManager.cc

    r3280 r3300  
    577577                        this->debug("TclThread_query: " + command);
    578578                        try
    579                         {   output = (std::string)target->interpreter_->eval(command);   }
     579                        {   output = static_cast<std::string>(target->interpreter_->eval(command));   }
    580580                        catch (Tcl::tcl_error const &e)
    581                         {   this->error("Tcl error: " + (std::string)e.what());   }
     581                        {   this->error("Tcl error: " + static_cast<std::string>(e.what()));   }
    582582                        catch (std::exception const &e)
    583                         {   this->error("Error while executing Tcl: " + (std::string)e.what());   }
     583                        {   this->error("Error while executing Tcl: " + static_cast<std::string>(e.what()));   }
    584584                    }
    585585                    else
Note: See TracChangeset for help on using the changeset viewer.