]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix gcc pedantry on 64-bit platforms
authorJulian Seward <jseward@acm.org>
Fri, 26 May 2006 11:29:17 +0000 (11:29 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 26 May 2006 11:29:17 +0000 (11:29 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5934

memcheck/tests/sh-mem.c

index 04c433d062e64b5362e31f97b086d1e6a0f89ecb..a2e6a480b278926ee30770d0cd9a898e4a0e9c6e 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..%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++) { \