Fix a 32/64 bit portability issue.

This commit is contained in:
Bill Currie 2011-09-09 19:56:16 +09:00
parent 999912e49a
commit bfd1680c15

View file

@ -84,7 +84,7 @@ main (int argc, const char **argv)
fprintf (stderr, "FAIL: (%zd) \"%s\" -> %d (%s), got %d (%s)\n", i,
ext_tests[i].path, ext_tests[i].expect_offset,
ext_tests[i].path + ext_tests[i].expect_offset,
ext - ext_tests[i].path, ext);
(int) (ext - ext_tests[i].path), ext);
res = 1;
}
}