aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_version.c2
-rw-r--r--ares/ares_version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_version.c b/ares/ares_version.c
index 04b269e28..2dbbc07e2 100644
--- a/ares/ares_version.c
+++ b/ares/ares_version.c
@@ -2,7 +2,7 @@
#include "ares_version.h"
-char *ares_version(int *version)
+const char *ares_version(int *version)
{
if(version)
*version = ARES_VERSION;
diff --git a/ares/ares_version.h b/ares/ares_version.h
index b99fa1b25..0850f9ad4 100644
--- a/ares/ares_version.h
+++ b/ares/ares_version.h
@@ -11,7 +11,7 @@
(ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.0.0"
-char *ares_version(int *version);
+const char *ares_version(int *version);
#endif