mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
General: Avoid implicit conversion to char when changes value to negative.
clang 5.0 warned about this. ASTERISK-27557 Change-Id: I7cceaa88e147cbdf81a3a7beec5c1c20210fa41e
This commit is contained in:
@@ -807,7 +807,7 @@ static void sms_log(sms_t * h, char status)
|
||||
*p++ = '\\';
|
||||
*p++ = 'r';
|
||||
} else if (h->ud[n] < 32 || h->ud[n] == 127) {
|
||||
*p++ = 191;
|
||||
*p++ = 0xbf;
|
||||
} else {
|
||||
*p++ = h->ud[n];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user