diff options
Diffstat (limited to 'src/freedreno/perfcntrs')
-rw-r--r-- | src/freedreno/perfcntrs/fdperf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/freedreno/perfcntrs/fdperf.c b/src/freedreno/perfcntrs/fdperf.c index 7e562367df6..45d2a18ebe2 100644 --- a/src/freedreno/perfcntrs/fdperf.c +++ b/src/freedreno/perfcntrs/fdperf.c @@ -39,6 +39,7 @@ #include <unistd.h> #include <curses.h> #include <libconfig.h> +#include <inttypes.h> #include "drm/freedreno_drmif.h" #include "drm/freedreno_ringbuffer.h" @@ -369,7 +370,7 @@ find_device(void) 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: |