mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add a few casts to avoid warnings in fallback gettext and friends
darcs-hash:20060720133125-ac50b-f357c1e8dc9c8dfbafa3baa51fcfb47525d337ba.gz
This commit is contained in:
parent
1b7157a03f
commit
4664d65af7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue