logging: convert some %jxen to PRIx64

pull/2239/head
nick black 3 years ago
parent a11a1bbfc9
commit 5a06a27df7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -8,7 +8,7 @@ ncprogbar* ncprogbar_create(ncplane* n, const ncprogbar_options* opts){
opts = &default_opts;
}
if(opts->flags > (NCPROGBAR_OPTION_RETROGRADE << 1u)){
logwarn("Invalid flags %016jx\n", (uintmax_t)opts->flags);
logwarn("Invalid flags %016" PRIx64 "\n", opts->flags);
}
ncprogbar* ret = malloc(sizeof(*ret));
if(ret){

@ -1495,7 +1495,7 @@ engorge_crender_vector(ncpile* n){
const size_t crenderlen = n->dimy * n->dimx; // desired size
//fprintf(stderr, "crlen: %d y: %d x:%d\n", crenderlen, dimy, dimx);
if(crenderlen != n->crenderlen){
loginfo("Resizing rvec (%lu) for %p to %zu\n", (long unsigned)n->crenderlen, n, crenderlen);
loginfo("Resizing rvec (%lu) for %p to %lu\n", (long unsigned)n->crenderlen, n, (long unsigned)crenderlen);
struct crender* tmp = realloc(n->crender, sizeof(*tmp) * crenderlen);
if(tmp == NULL){
return -1;

Loading…
Cancel
Save