diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-11 18:02:35 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-11 18:02:35 +0000 |
commit | aae7e432c6f20345db6e178d6df1f9cacc0a3211 (patch) | |
tree | 122fbbdec8bd9138df498ed42737e3c21d483416 /m4macros | |
parent | 26fc5a7a6f06895279be3dd7cf71485961d632ae (diff) | |
download | glib-aae7e432c6f20345db6e178d6df1f9cacc0a3211.tar.gz |
Avoid stupid compiler complaints about precision loss.
2005-03-11 Matthias Clasen <mclasen@redhat.com>
* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
about precision loss.
Diffstat (limited to 'm4macros')
-rw-r--r-- | m4macros/glib-gettext.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4 index 6f8efd904..01db6de13 100644 --- a/m4macros/glib-gettext.m4 +++ b/m4macros/glib-gettext.m4 @@ -121,7 +121,7 @@ glib_DEFUN([GLIB_WITH_NLS], [AC_TRY_LINK([ #include <libintl.h> ], - [return (int) ngettext ("","", 1)], + [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) @@ -131,7 +131,7 @@ glib_DEFUN([GLIB_WITH_NLS], [AC_TRY_LINK([ #include <libintl.h> ], - [return (int) dgettext ("","")], + [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) |