The compiler configuration was hardened to fail on format warnings and
things stopped building.
Fixes: c9c1e2610647 ("mesa: prevent common string formatting security issues")
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-By: Ryan Houdek <Sonicadvance1@gmail.com>
if (verbose) {
for (unsigned i = 0; i < num_consts; i++) {
- printf("# const%d: %08lx\n", 2 * i, consts[i] & 0xffffffff);
+ printf("# const%d: %08" PRIx64 "\n", 2 * i, consts[i] & 0xffffffff);
printf("# const%d: %08" PRIx64 "\n", 2 * i + 1, consts[i] >> 32);
}
}