mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 23:40:33 +01:00
winsys/amdgpu: Make local variable r signed
This is consistent with the return type of the functions whose return values we assign to it. No functional change intended. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3879>
This commit is contained in:
parent
87365e263e
commit
228cbdfe67
1 changed files with 2 additions and 1 deletions
|
|
@ -345,7 +345,8 @@ amdgpu_winsys_create(int fd, const struct pipe_screen_config *config,
|
|||
struct amdgpu_screen_winsys *ws;
|
||||
struct amdgpu_winsys *aws;
|
||||
amdgpu_device_handle dev;
|
||||
uint32_t drm_major, drm_minor, r;
|
||||
uint32_t drm_major, drm_minor;
|
||||
int r;
|
||||
|
||||
ws = CALLOC_STRUCT(amdgpu_screen_winsys);
|
||||
if (!ws)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue