]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Sigh .. now fix for 32-bit targets.
authorJulian Seward <jseward@acm.org>
Fri, 26 May 2006 12:00:26 +0000 (12:00 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 26 May 2006 12:00:26 +0000 (12:00 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5936

memcheck/tests/sh-mem.c

index a2e6a480b278926ee30770d0cd9a898e4a0e9c6e..f6323d990480f4c71ea110605c2599b354127845 100644 (file)
@@ -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++) { \