summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_outputs.c')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index dfb2fa9..6fe3eb5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -659,7 +659,7 @@ _output_plane_states_get(Ecore_Drm2_Atomic_State *state, unsigned int crtc_id, i
659 states = 659 states =
660 eina_list_append(states, _atomic_state_plane_duplicate(pstate)); 660 eina_list_append(states, _atomic_state_plane_duplicate(pstate));
661 } 661 }
662 else if (pstate->mask & (1 << index)) 662 else if (pstate->mask & (1ULL << index))
663 { 663 {
664 states = 664 states =
665 eina_list_append(states, _atomic_state_plane_duplicate(pstate)); 665 eina_list_append(states, _atomic_state_plane_duplicate(pstate));
@@ -1454,7 +1454,7 @@ ecore_drm2_output_possible_crtc_get(Ecore_Drm2_Output *output, unsigned int crtc
1454 { 1454 {
1455 if (res->crtcs[k] != output->crtc_id) continue; 1455 if (res->crtcs[k] != output->crtc_id) continue;
1456 1456
1457 if (p & (1 << k)) 1457 if (p & (1ULL << k))
1458 { 1458 {
1459 ret = EINA_TRUE; 1459 ret = EINA_TRUE;
1460 break; 1460 break;