• Guido van Rossum's avatar
    Trent Mick: · fb5d4e39
    Guido van Rossum authored
    Fix warnings on 64-bit build build of signalmodule.c
    
    - Though I know that SIG_DFL and SIG_IGN are just small constants,
    there are cast to function pointers so the appropriate Python call is
    PyLong_FromVoidPtr so that the pointer value cannot overflow on Win64
    where sizeof(long) < sizeof(void*).
    fb5d4e39
signalmodule.c 16 KB