mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
replace j conversion with PRI for windows
This commit is contained in:
parent
917361d87d
commit
698d1e59f5
@ -1,4 +1,5 @@
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
#include "internal.h"
|
||||
|
||||
static const uint32_t zeroes32;
|
||||
@ -1037,7 +1038,7 @@ int ncblit_rgb_packed(const void* data, int linesize,
|
||||
|
||||
int ncblit_rgba(const void* data, int linesize, const struct ncvisual_options* vopts){
|
||||
if(vopts->flags > NCVISUAL_OPTION_BLEND){
|
||||
fprintf(stderr, "Warning: unknown ncvisual options %016jx\n", (uintmax_t)vopts->flags);
|
||||
fprintf(stderr, "Warning: unknown ncvisual options %016" PRIx64 "\n", (uintmax_t)vopts->flags);
|
||||
}
|
||||
if(linesize <= 0 || (size_t)linesize < vopts->lenx * sizeof(uint32_t)){
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user