aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dovecot-version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dovecot-version.c b/dovecot-version.c
index fbd1f89..7733e60 100644
--- a/dovecot-version.c
+++ b/dovecot-version.c
@@ -5,7 +5,8 @@
int main(int argc, char **argv)
{
- char *v = PACKAGE_STRING, *e;
+ const char *v = PACKAGE_STRING;
+ char *e;
int maj = 0, min = 0, patch = 0;
if (strncmp(v, "dovecot ", 8) && strncmp(v, "Dovecot ", 8))