commit | 997edcd37ff0a8c26cc9514f6a376b10f721892e | [log] [tgz] |
---|---|---|
author | Eleni Maria Stea <elene.mst@gmail.com> | Mon Nov 22 12:14:36 2021 +0200 |
committer | Simon Ser <contact@emersion.fr> | Thu Nov 25 20:28:33 2021 +0000 |
tree | 0a636d9a132d92bdff07bf4075cfc83fb506ee06 | |
parent | f70e8ae83590d2a1fb1972dc7e875dd6a9355b77 [diff] |
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: Eleni Maria Stea <elene.mst@gmail.com>