diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:25:00 +0100 |
commit | db0fcf9142f9ee7035370f832036c873d4c87168 (patch) | |
tree | a4062cdf2158362a0a431eb1806719e9f0975cb1 /app/wlib/mswlib/simple-gettext.c | |
parent | ee016bcb70b5c380e03b5fd2c12b1baa504c3cc8 (diff) | |
parent | 09795a01ef859f072920de9df974d1b03b9ab9a4 (diff) |
Merge tag 'upstream/4.2.4a'
Upstream version 4.2.4a
Diffstat (limited to 'app/wlib/mswlib/simple-gettext.c')
-rw-r--r-- | app/wlib/mswlib/simple-gettext.c | 7 |
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; } /** |