[vizgeom] PRIx64 for uint64_t

This commit is contained in:
nick black 2021-11-01 22:28:08 -05:00
parent 479396c625
commit 2ce3c0ef4e

View File

@ -1145,7 +1145,7 @@ ncplane* ncvisual_blit(notcurses* nc, ncvisual* ncv, const struct ncvisual_optio
nopts.flags |= NCPLANE_OPTION_VERALIGNED;
nopts.y = vopts->y;
}
loginfo("placing new plane: %d/%d @ %d/%d 0x%016lx\n", nopts.rows, nopts.cols, nopts.y, nopts.x, nopts.flags);
loginfo("placing new plane: %d/%d @ %d/%d 0x%016" PRIx64 "\n", nopts.rows, nopts.cols, nopts.y, nopts.x, nopts.flags);
if(n == NULL){
n = ncpile_create(nc, &nopts);
}else{
@ -1262,7 +1262,8 @@ int ncvisual_at_yx(const ncvisual* n, int y, int x, uint32_t* pixel){
return 0;
}
int ncvisual_polyfill_recurse(ncvisual* n, int y, int x, uint32_t rgba, uint32_t match){
static int
ncvisual_polyfill_recurse(ncvisual* n, int y, int x, uint32_t rgba, uint32_t match){
if(y < 0 || y >= n->pixy){
return 0;
}