[Mesa-dev] [PATCH] aubinator: use the correct format specifier for printing ptrdiff_t.
Anuj Phogat
anuj.phogat at gmail.com
Tue Oct 4 17:04:39 UTC 2016
On Tue, Oct 4, 2016 at 10:01 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Fixes more warnings in 32-bit builds.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/intel/tools/aubinator.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
> index 9b32e5b..27d7647 100644
> --- a/src/intel/tools/aubinator.c
> +++ b/src/intel/tools/aubinator.c
> @@ -942,7 +942,7 @@ aub_file_decode_batch(struct aub_file *file, struct gen_spec *spec)
> bias = 1;
> break;
> default:
> - printf("unknown opcode %d at %ld/%ld\n",
> + printf("unknown opcode %d at %td/%td\n",
> OPCODE(h), file->cursor - file->map,
> file->end - file->map);
> file->cursor = file->end;
> --
> 2.10.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the mesa-dev
mailing list