From 0dc439abbc44e90067c9ad3c2696787285be53d6 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 6 Jun 2017 10:44:55 -0400 Subject: [PATCH] ecore-drm2: Fix output backlight value type definitions When we go to set output backlight level we use doubles, so lets just store these values as doubles in the structure. @fix Signed-off-by: Chris Michael --- src/lib/ecore_drm2/ecore_drm2_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h index abf8b97ffb..1d3300ea11 100644 --- a/src/lib/ecore_drm2/ecore_drm2_private.h +++ b/src/lib/ecore_drm2/ecore_drm2_private.h @@ -766,7 +766,7 @@ struct _Ecore_Drm2_Output struct { const char *path; - int value, max; + double value, max; Ecore_Drm2_Backlight_Type type; } backlight;