logging: replace some llx with PRIx64

pull/2220/head
nick black 3 years ago
parent f816365aab
commit 21cd23d767
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -1166,7 +1166,7 @@ int kitty_draw(const tinfo* ti, const ncpile* p, sprixel* s, fbuf* f,
animated = true;
}
int ret = s->glyph.used;
logdebug("dumping %llub for %u at %d %d\n", s->glyph.used, s->id, yoff, xoff);
logdebug("dumping %" PRIu64 "b for %u at %d %d\n", s->glyph.used, s->id, yoff, xoff);
if(ret){
if(fbuf_putn(f, s->glyph.buf, s->glyph.used) < 0){
ret = -1;

@ -73,7 +73,7 @@ void nctabbed_ensure_selected_header_visible(nctabbed* nt){
static bool
nctabbed_validate_opts(const nctabbed_options* opts){
if(opts->flags > NCTABBED_OPTION_BOTTOM){
logwarn("Provided unsupported flags 0x%016llx\n", opts->flags);
logwarn("Provided unsupported flags 0x%016" PRIx64 "\n", opts->flags);
}
if(opts->sepchan && !opts->separator){
logwarn("Provided non-zero separator channel when separator is NULL")

@ -124,7 +124,7 @@ nctree_inner_create(ncplane* n, const nctree_options* opts){
nctree* nctree_create(ncplane* n, const nctree_options* opts){
if(opts->flags){
logwarn("Passed invalid flags 0x%016llx\n", opts->flags);
logwarn("Passed invalid flags 0x%016" PRIx64 "\n", opts->flags);
}
if(opts->count == 0 || opts->items == NULL){
logerror("Can't create empty tree\n");

Loading…
Cancel
Save