Add a few casts to avoid warnings in fallback gettext and friends

darcs-hash:20060720133125-ac50b-f357c1e8dc9c8dfbafa3baa51fcfb47525d337ba.gz
This commit is contained in:
axel 2006-07-20 23:31:25 +10:00
parent 1b7157a03f
commit 4664d65af7

View file

@ -1035,7 +1035,7 @@ int futimes(int fd, const struct timeval *times)
char * gettext (const char * msgid) char * gettext (const char * msgid)
{ {
return msgid; return (char *)msgid;
} }
char * bindtextdomain (const char * domainname, const char * dirname) char * bindtextdomain (const char * domainname, const char * dirname)
@ -1056,7 +1056,7 @@ char * dcgettext ( const char * domainname,
const char * msgid, const char * msgid,
int category) int category)
{ {
return msgid; return (char *)msgid;
} }