]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid compiler warning.
authorBruno Haible <bruno@clisp.org>
Tue, 8 Feb 2005 11:28:40 +0000 (11:28 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:10 +0000 (12:12 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/msginit.c

index 670c2f91357aabcd266c5455521814b1423774c0..b5cc9991a08ae324736f57a0e157685fa94bbf85 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-08  Bruno Haible  <bruno@clisp.org>
+
+       * msginit.c (get_user_email): Cast _() to 'char *', to avoid compiler
+       warning.
+
 2005-02-07  Bruno Haible  <bruno@clisp.org>
 
        Make the tools work in the tr_TR locale.
index 97926ebbf55fe14e7ca5f251015f4a74f215e759..1d97035511382c1133e0130687d1abbb4f49d3ad 100644 (file)
@@ -1178,7 +1178,7 @@ get_user_email ()
   /* Ask the user for his email address.  */
   argv[0] = "/bin/sh";
   argv[1] = (char *) prog;
-  argv[2] = _("\
+  argv[2] = (char *) _("\
 The new message catalog should contain your email address, so that users can\n\
 give you feedback about the translations, and so that maintainers can contact\n\
 you in case of unexpected technical problems.\n");