mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 02:04:54 +00:00
fs_cli: comply with -Wwrite-strings
This commit is contained in:
parent
8056125077
commit
02481cabbf
@ -575,7 +575,7 @@ static int stdout_writable(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
static int write_str(char *s) {
|
||||
static int write_str(const char *s) {
|
||||
int n, left = strlen(s);
|
||||
while (1) {
|
||||
n = write(STDOUT_FILENO, s, left);
|
||||
|
Loading…
x
Reference in New Issue
Block a user