summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib/simple-gettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/wlib/mswlib/simple-gettext.c')
-rw-r--r--app/wlib/mswlib/simple-gettext.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/wlib/mswlib/simple-gettext.c b/app/wlib/mswlib/simple-gettext.c
index 295d515..d213fc3 100644
--- a/app/wlib/mswlib/simple-gettext.c
+++ b/app/wlib/mswlib/simple-gettext.c
@@ -1,4 +1,5 @@
-/* simple-gettext.c - a simplified version of gettext.
+/* \file simple-gettext.c
+ * a simplified version of gettext.
* Copyright (C) 1995, 1996, 1997, 1999,
* 2005 Free Software Foundation, Inc.
*
@@ -378,7 +379,7 @@ get_string( struct loaded_domain *domain, u32 idx )
*/
char *
-gettext( char *msgid )
+gettext( const char *msgid )
{
struct loaded_domain *domain;
size_t act = 0;
@@ -446,7 +447,7 @@ gettext( char *msgid )
}
not_found:
- return msgid;
+ return (char *)msgid;
}
/**