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/util/SignalHandler.cc

    r3198 r3301  
    203203        dup2( gdbErr[1], STDERR_FILENO );
    204204
    205         execlp( "sh", "sh", "-c", "gdb", (void*)NULL);
     205        execlp( "sh", "sh", "-c", "gdb", static_cast<void*>(NULL));
    206206      }
    207207
Note: See TracChangeset for help on using the changeset viewer.