Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2009, 4:03:59 PM (16 years ago)
Author:
rgrieder
Message:

Found even more casts. They sure aren't all of them, but I hope to have caught every pointer C-style cast because they can be very dangerous.
Note: I didn't do the pointer casts in the network library because that would have taken way too long.

File:
1 edited

Legend:

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

    r3280 r3301  
    572572        else
    573573        {
    574             COUT(1) << "ConfigFileManager: Can't find a config file for type with ID " << (int)type << std::endl;
     574            COUT(1) << "ConfigFileManager: Can't find a config file for type with ID " << static_cast<int>(type) << std::endl;
    575575            COUT(1) << "Using " << DEFAULT_CONFIG_FILE << " file." << std::endl;
    576576            this->setFilename(type, DEFAULT_CONFIG_FILE);
Note: See TracChangeset for help on using the changeset viewer.