diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-03-31 10:03:16 +0200 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2010-03-31 10:03:35 +0200 |
commit | 2c51cf6c4d088f4cabaa815754e1737ad1db052d (patch) | |
tree | 028756ea8c466aebc986459382178666ee2214b0 /tests/get-mb-cur-max.c | |
parent | bd363e731b1b022657b4266bc3267eeeeee398f9 (diff) | |
download | grep-2c51cf6c4d088f4cabaa815754e1737ad1db052d.tar.gz |
tests: fix -Wformat failure
* tests/get-mb-cur-max (main): Cast MB_CUR_MAX to int.
Diffstat (limited to 'tests/get-mb-cur-max.c')
-rw-r--r-- | 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 3ba73893..48e2713a 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); } |