From: Julian Seward Date: Fri, 26 May 2006 12:00:26 +0000 (+0000) Subject: Sigh .. now fix for 32-bit targets. X-Git-Tag: svn/VALGRIND_3_2_0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7091136f7fe745f89dc3a7442bb51f7d322b4fd6;p=thirdparty%2Fvalgrind.git Sigh .. now fix for 32-bit targets. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5936 --- diff --git a/memcheck/tests/sh-mem.c b/memcheck/tests/sh-mem.c index a2e6a480b2..f6323d9904 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..%ld) ", h, h, n-NNN+h); \ + fprintf(stderr, "h = %d (checking %d..%d) ", h, h, (int)(n-NNN+h)); \ \ /* For each of the 256 possible V byte values... */ \ for (j = 0; j < 256; j++) { \