aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-20 23:31:25 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-20 23:31:25 +1000
commit4664d65af73795f8631653d0823aae99c5aa1588 (patch)
tree2d734f698e26858074ae5045567cc29262c5ad9f /fallback.c
parent1b7157a03fc5371bc2a84cd3602a8c989f29d048 (diff)
Add a few casts to avoid warnings in fallback gettext and friends
darcs-hash:20060720133125-ac50b-f357c1e8dc9c8dfbafa3baa51fcfb47525d337ba.gz
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fallback.c b/fallback.c
index d8563566..32714224 100644
--- a/fallback.c
+++ b/fallback.c
@@ -1035,7 +1035,7 @@ int futimes(int fd, const struct timeval *times)
char * gettext (const char * msgid)
{
- return msgid;
+ return (char *)msgid;
}
char * bindtextdomain (const char * domainname, const char * dirname)
@@ -1056,7 +1056,7 @@ char * dcgettext ( const char * domainname,
const char * msgid,
int category)
{
- return msgid;
+ return (char *)msgid;
}