summaryrefslogtreecommitdiff
path: root/src/args.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-04-05 21:52:22 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-04-05 22:18:51 +0200
commit50be1a1772e3627fc4851d46912bd2164e3afe52 (patch)
tree77a80f12ad707541bec2ab1d78e21d9600870880 /src/args.c
parent80f7e8ead55ee85a364c98db64c21d70a34d1dc1 (diff)
downloadcalcurse-50be1a1772e3627fc4851d46912bd2164e3afe52.zip
Mark some more variables/parameters constant
Fixes a couple of warnings seen with GCC 4.7. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.c b/src/args.c
index ad27235..a846095 100644
--- a/src/args.c
+++ b/src/args.c
@@ -204,7 +204,7 @@ todo_arg (int priority, const char *format, regex_t *regex)
{
llist_item_t *i;
int title = 1;
- char *titlestr;
+ const char *titlestr;
const char *all_todos_title = _("to do:\n");
const char *completed_title = _("completed tasks:\n");