summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 15:42:12 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commit7b0891a743ed0b6e14b6059468a4c00322411fb0 (patch)
tree27856df5ef581204c09db7050e072a7feec01336
parent3e95380edbe2e5fa4480e216b51ddffad655dc8a (diff)
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
-rw-r--r--src/bin/e_desklock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index 664b921a3..fc5a92a0d 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -295,7 +295,8 @@ e_desklock_show(Eina_Bool suspend)
295 295
296 if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) 296 if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects))
297 { 297 {
298 CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); 298 CRI("> %lu screens connected????",
299 (unsigned long)EINA_C_ARRAY_LENGTH(block_rects));
299 break; 300 break;
300 } 301 }
301 o = evas_object_rectangle_add(e_comp->evas); 302 o = evas_object_rectangle_add(e_comp->evas);
@@ -710,7 +711,8 @@ e_desklock_zone_block_set(const E_Zone *zone, Eina_Bool block)
710 EINA_SAFETY_ON_NULL_RETURN(zone); 711 EINA_SAFETY_ON_NULL_RETURN(zone);
711 if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects)) 712 if (zone->num >= EINA_C_ARRAY_LENGTH(block_rects))
712 { 713 {
713 CRI("> %lu screens connected????", EINA_C_ARRAY_LENGTH(block_rects)); 714 CRI("> %lu screens connected????",
715 (unsigned long)EINA_C_ARRAY_LENGTH(block_rects));
714 return; 716 return;
715 } 717 }
716 block_zone[zone->num] = !!block; 718 block_zone[zone->num] = !!block;