Skip to content
Commit 997edcd3 authored by Eleni Maria Stea's avatar Eleni Maria Stea Committed by Simon Ser
Browse files

xf86drm: fix compiler warnings



Used casting to fix warnings about assigning different enum types to
variables. Used error checks in places where snprintf is called and
output might be truncated to fix gcc format-truncation warnings.

v2: Removed a change in drm.h (Simon Ser)
v3, v4: Removed unecessary braces in snprintf (Simon Ser)

Signed-off-by: default avatarEleni Maria Stea <elene.mst@gmail.com>
parent f70e8ae8
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