Skip to content
Commit 454b1494 authored by Jammy Zhou's avatar Jammy Zhou Committed by Emil Velikov
Browse files

Fix one warning (v2)



xf86drm.c:356:2: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
  group = (serv_group >= 0) ? serv_group : DRM_DEV_GID;
  ^

v2: do 'int' cast to fix the warning

Signed-off-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: default avatarJan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent d0e592d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment