}
}
if (differences) {
- cm_print_error("%d bytes of %p and %p differ\n", differences,
- a, b);
+ cm_print_error("%d bytes of %p and %p differ\n",
+ differences, (void *)a, (void *)b);
return 0;
}
return 1;
}
}
if (same == size) {
- cm_print_error("%"PRIdS "bytes of %p and %p the same\n", same,
- a, b);
+ cm_print_error("%"PRIdS "bytes of %p and %p the same\n",
+ same, (void *)a, (void *)b);
return 0;
}
return 1;
file, line,
ptr, (unsigned long)block_info->size,
block_info->location.file, block_info->location.line,
- &guard[j]);
+ (void *)&guard[j]);
_fail(file, line);
}
}