mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +00:00
fs_cli: comply with -Wwrite-strings
This commit is contained in:
1 parent
8056125077
commit
02481cabbf
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user