Hi, Ran into this: Running ./ltrace.main/parameters.exp ... compile failed for ltrace test, ./ltrace.main/parameters.c: In function 'main': ./ltrace.main/parameters.c:196: warning: format '%ld' expects type 'long int', but argument 4 has type 'int' Testcase compile failed, so all tests in this file will automatically fail.
commit b7eb8ae90ff9ba62b72c08b7c281864529a8d9a3 Author: Edgar E. Iglesias <[email protected]> Date: Wed Sep 26 10:44:45 2012 +0200 testsuite: Avoid compile warning Signed-off-by: Edgar E. Iglesias <[email protected]> diff --git a/testsuite/ltrace.main/parameters.c b/testsuite/ltrace.main/parameters.c index 158fdd7..44d54b2 100644 --- a/testsuite/ltrace.main/parameters.c +++ b/testsuite/ltrace.main/parameters.c @@ -190,7 +190,7 @@ main () "%c %d %g %d %g %c %d " "%hd %d %c %g %g %g " "%ld %g %g %g %g", - 1, 2, 3, 4.0, '5', 6, 7.0, + 1, 2, 3L, 4.0, '5', 6, 7.0, '8', 9, 10.0, 11, 12.0, 'A', 14, (short)15, 16, 'B', 18.0, 19.0, 20.0, 21L, 22.0, 23.0, 24.0, 25.0); _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
