Ignore:
Timestamp:
Jun 26, 2015, 9:22:27 PM (6 years ago)
Author:
mikedld
Message:

Avoid assert on passing negative values to isprint (due to type promotion)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r14476 r14546  
    458458        const char *in, *in_end;
    459459        for (in= (const char*)id, in_end=in+8; in!=in_end; ++in) {
    460             if (isprint (*in))
     460            if (isprint ((unsigned char) *in))
    461461                *walk++ = *in;
    462462            else {
Note: See TracChangeset for help on using the changeset viewer.