summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-09-28 07:42:18 +0300
committerunknown <monty@hundin.mysql.fi>2001-09-28 07:42:18 +0300
commitb39377849084394fe45471360680a54477e3b5c5 (patch)
tree87129bbe919900be27e8ad8802b2d416d5c8b60d /mysys/charset.c
parentc21867da8c98c6245383eab4f37862f3adc2c626 (diff)
downloadmariadb-git-b39377849084394fe45471360680a54477e3b5c5.tar.gz
Portability fix
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index 1bbf7e58c77..ddabb22539e 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -267,7 +267,7 @@ uint get_charset_number(const char *charset_name)
const char *get_charset_name(uint charset_number)
{
- char *name=compiled_charset_name(charset_number);
+ const char *name=compiled_charset_name(charset_number);
if (*name != '?')
return name;
if (init_available_charsets(MYF(0))) /* If it isn't initialized */