raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=7b0891a743ed0b6e14b6059468a4c00322411fb0
commit 7b0891a743ed0b6e14b6059468a4c00322411fb0 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Sun Feb 12 15:42:12 2017 +0900 e desklock logging - fix types for critical error logs the critical error log expects unsigned long so cast to exactly that so it's correct and doesn't break/display incorrect values --- src/bin/e_desklock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c index 664b921..fc5a92a 100644 --- a/src/bin/e_desklock.c +++ b/src/bin/e_desklock.c @@ -295,7 +295,8 @@ e_desklock_show(Eina_Bool suspend) if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) { - CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); + CRI("> %lu screens connected????", + (unsigned long)EINA_C_ARRAY_LENGTH(block_rects)); break; } o = evas_object_rectangle_add(e_comp->evas); @@ -710,7 +711,8 @@ e_desklock_zone_block_set(const E_Zone *zone, Eina_Bool block) EINA_SAFETY_ON_NULL_RETURN(zone); if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) { - CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); + CRI("> %lu screens connected????", + (unsigned long)EINA_C_ARRAY_LENGTH(block_rects)); return; } block_zone[zone->num] = !!block; --
