mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-01 14:23:42 +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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static int write_str(char *s) {
|
static int write_str(const char *s) {
|
||||||
int n, left = strlen(s);
|
int n, left = strlen(s);
|
||||||
while (1) {
|
while (1) {
|
||||||
n = write(STDOUT_FILENO, s, left);
|
n = write(STDOUT_FILENO, s, left);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user