Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2009, 4:03:59 PM (15 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/input/InputManager.cc

    r3280 r3301  
    175175
    176176            // Fill parameter list
    177             windowHndStr << (unsigned int)windowHnd_;
     177            windowHndStr << static_cast<unsigned int>(windowHnd);
    178178            paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));
    179179#if defined(ORXONOX_PLATFORM_WINDOWS)
Note: See TracChangeset for help on using the changeset viewer.