From Murai Takashi <tmurai01@xxxxxxxxx>:
Murai Takashi has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/3626 )
Change subject: mail_utils/mail: Fix -Wwrite-strings
......................................................................
mail_utils/mail: Fix -Wwrite-strings
Change-Id: I57f231cca2137daee8f1f2f3caa6cd9f282be0ed
---
M src/bin/mail_utils/mail.cpp
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/26/3626/1
diff --git a/src/bin/mail_utils/mail.cpp b/src/bin/mail_utils/mail.cpp
index 97aff49..f929ad5 100644
--- a/src/bin/mail_utils/mail.cpp
+++ b/src/bin/mail_utils/mail.cpp
@@ -32,9 +32,9 @@
return 0;
}
- char *subject = "No subject";
- char *cc = "";
- char *bcc = "";
+ const char *subject = "No subject";
+ const char *cc = "";
+ const char *bcc = "";
BString to;
bool verbose = false;
--
To view, visit https://review.haiku-os.org/c/haiku/+/3626
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I57f231cca2137daee8f1f2f3caa6cd9f282be0ed
Gerrit-Change-Number: 3626
Gerrit-PatchSet: 1
Gerrit-Owner: Murai Takashi <tmurai01@xxxxxxxxx>
Gerrit-MessageType: newchange