From: Julian Seward Date: Fri, 26 May 2006 11:29:17 +0000 (+0000) Subject: Fix gcc pedantry on 64-bit platforms X-Git-Tag: svn/VALGRIND_3_2_0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ebf075c9bc2e225d9d491ccafa2cf1f60c9d38;p=thirdparty%2Fvalgrind.git Fix gcc pedantry on 64-bit platforms git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5934 --- diff --git a/memcheck/tests/sh-mem.c b/memcheck/tests/sh-mem.c index 04c433d062..a2e6a480b2 100644 --- a/memcheck/tests/sh-mem.c +++ b/memcheck/tests/sh-mem.c @@ -141,7 +141,7 @@ int main(void) Ty* aNb = (Ty*)(((U1*)aN) + h); /* set offset from a[] */ \ Ty* bNb = (Ty*)(((U1*)bN) + h); /* set offset from b[] */ \ \ - fprintf(stderr, "h = %d (checking %d..%d) ", h, h, n-NNN+h); \ + fprintf(stderr, "h = %d (checking %d..%ld) ", h, h, n-NNN+h); \ \ /* For each of the 256 possible V byte values... */ \ for (j = 0; j < 256; j++) { \