if (start && (num != start +0x4000))
{
uint32_t delta = ((num-start)/0x4000)-1;
- fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10ld \n",
+ fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10lld \n",
delta, start -0x4000, num, blocks);
n_err++;
skips += delta;
if (start && (num != start +0x4000))
{
uint32_t delta = ((num-start)/0x4000)-1;
- fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10ld \n",
+ fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10lld \n",
delta, start -0x4000, num, blocks);
n_err++;
skips += delta;
fclose(outputFile);
}
else if (check)
- fprintf(stderr,"%d errors of %ld blocks (%Le), %d (%Le) blocks skipped\n",
+ fprintf(stderr,"%d errors of %lld blocks (%Le), %d (%Le) blocks skipped\n",
n_err, blocks, (long double)n_err/(long double) blocks,
skips, (long double)skips/(long double) blocks);
exit (0);
{
if(n_shown < 30)
{
- fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10ld \n",
+ fprintf(stderr, "Skip %7d blocks from 0x%08x to 0x%08x at blocks %10lld \n",
(nread-start)/0x4000, start -0x4000, nread, blocks);
n_shown ++;
}
pc = pa;
}
if(n_errors)
- fprintf(stderr, "%d blocks wrong from %ld blocks read\n",
+ fprintf(stderr, "%d blocks wrong from %lld blocks read\n",
n_errors, blocks);
else
- fprintf(stderr, "%ld blocks all fine\n",blocks);
+ fprintf(stderr, "%lld blocks all fine\n",blocks);
}
}