From fd3ec867fef7fb0359ecdcc91ce0c6ea53f023fc Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Mon, 21 Jun 2010 17:31:55 -0300 Subject: [PATCH] obexd: Fix fixed strings not having the const modifier --- obexd/plugins/vcard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c index e4b9df93a..d56133d07 100644 --- a/obexd/plugins/vcard.c +++ b/obexd/plugins/vcard.c @@ -152,7 +152,7 @@ static void vcard_printf_number(GString *vcards, uint8_t format, const char *number, int type, enum phonebook_number_type category) { - char *intl = "", *category_string = ""; + const char *intl = "", *category_string = ""; char buf[128]; /* TEL is a mandatory field, include even if empty */ -- 2.47.3