Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
#include <unistd.h>
#include <curses.h>
#include <libconfig.h>
+#include <inttypes.h>
#include "drm/freedreno_drmif.h"
#include "drm/freedreno_ringbuffer.h"
free(b);
- printf("i/o region at %08lx (size: %x)\n", dev.base, dev.size);
+ printf("i/o region at %08"PRIu64" (size: %x)\n", dev.base, dev.size);
/* try MAX_FREQ first as that will work regardless of old dt
* dt bindings vs upstream bindings: