mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
d3d12: Fixes warning: format '%d' expects argument of type 'int', but argument 3 has type 'LONG'
../../src/gallium/drivers/d3d12/d3d12_video_proc.cpp:278:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'LONG' {aka 'long int'} [-Wformat=]
278 | debug_printf("ProcessFrame InArgs Orientation %d \n\tSrc top: %d left: %d right: %d bottom: %d\n\tDst top: %d left: %d right: %d bottom: %d\n", InputArguments.Transform.Orientation,
| ~^
| |
| int
| %ld
279 | InputArguments.Transform.SourceRectangle.top, InputArguments.Transform.SourceRectangle.left, InputArguments.Transform.SourceRectangle.right, InputArguments.Transform.SourceRectangle.bottom,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| LONG {aka long int}
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36864>
This commit is contained in:
parent
cf3fe3011f
commit
ca1d7ed3b3
1 changed files with 2 additions and 2 deletions
|
|
@ -276,8 +276,8 @@ d3d12_video_processor_process_frame(struct pipe_video_codec *codec,
|
|||
};
|
||||
|
||||
debug_printf("ProcessFrame InArgs Orientation %d \n\tSrc top: %d left: %d right: %d bottom: %d\n\tDst top: %d left: %d right: %d bottom: %d\n", InputArguments.Transform.Orientation,
|
||||
InputArguments.Transform.SourceRectangle.top, InputArguments.Transform.SourceRectangle.left, InputArguments.Transform.SourceRectangle.right, InputArguments.Transform.SourceRectangle.bottom,
|
||||
InputArguments.Transform.DestinationRectangle.top, InputArguments.Transform.DestinationRectangle.left, InputArguments.Transform.DestinationRectangle.right, InputArguments.Transform.DestinationRectangle.bottom);
|
||||
(int)InputArguments.Transform.SourceRectangle.top, (int)InputArguments.Transform.SourceRectangle.left, (int)InputArguments.Transform.SourceRectangle.right, (int)InputArguments.Transform.SourceRectangle.bottom,
|
||||
(int)InputArguments.Transform.DestinationRectangle.top, (int)InputArguments.Transform.DestinationRectangle.left, (int)InputArguments.Transform.DestinationRectangle.right, (int)InputArguments.Transform.DestinationRectangle.bottom);
|
||||
|
||||
pD3D12Proc->m_ProcessInputs.push_back(InputArguments);
|
||||
pD3D12Proc->m_InputBuffers.push_back(pInputVideoBuffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue