diff options
author | Tomeu Vizoso <[email protected]> | 2019-03-27 14:56:00 +0100 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-03-27 17:03:34 +0100 |
commit | 02081edfaf8461cbd5dc8c81a7f45a62a03cc94e (patch) | |
tree | f8e8306f1edaa867a3f5d773d8e1abe08804ddc4 /src/gallium/drivers/panfrost/pandecode | |
parent | 3bccf702118dda542da3b96990fd0bcca97f9a89 (diff) |
panfrost: Fix sscanf format options
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pandecode')
-rw-r--r-- | src/gallium/drivers/panfrost/pandecode/cmdline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pandecode/cmdline.c b/src/gallium/drivers/panfrost/pandecode/cmdline.c index b2ba21cfe41..87e6defcb56 100644 --- a/src/gallium/drivers/panfrost/pandecode/cmdline.c +++ b/src/gallium/drivers/panfrost/pandecode/cmdline.c @@ -126,7 +126,7 @@ pandecode_read_mmap(const char *base, const char *line) mali_ptr addr; char name[512]; - sscanf(line, "MMAP %lx %s", &addr, name); + sscanf(line, "MMAP %" PRIx64 " %s", &addr, name); pandecode_read_memory(base, name, addr); } @@ -137,7 +137,7 @@ pandecode_read_job_submit(const char *base, const char *line) unsigned core_req; unsigned is_bifrost; - sscanf(line, "JS %lx %x %x", &addr, &core_req, &is_bifrost); + sscanf(line, "JS %" PRIx64 " %x %x", &addr, &core_req, &is_bifrost); pandecode_replay_jc(addr, is_bifrost); } |