* tests/get-mb-cur-max (main): Cast MB_CUR_MAX to int.
---
 tests/get-mb-cur-max.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/get-mb-cur-max.c b/tests/get-mb-cur-max.c
index 3ba7389..48e2713 100644
--- a/tests/get-mb-cur-max.c
+++ b/tests/get-mb-cur-max.c
@@ -29,7 +29,7 @@ main (int argc, char **argv)
   set_program_name (argv[0]);
   if (setlocale (LC_ALL, argv[1]))
     {
-      printf ("%d\n", MB_CUR_MAX);
+      printf ("%d\n", (int) MB_CUR_MAX);
       exit (EXIT_SUCCESS);
     }
 
-- 
1.6.6.1



Reply via email to